diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-10-14 12:21:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-14 12:21:37 -0500 |
commit | e0bc3fd59c56e477696dd17eaa753e94737d8e1d (patch) | |
tree | 99dd9cab2856e479de694317fbac1e960f1ff8b4 /include | |
parent | 355f014909bf3ee3669229b69901fc1ccfb51787 (diff) | |
parent | 541043a66154aab69fa3be85325ebb632707f8c1 (diff) |
Merge pull request #355 from DizzyEggg/use_eos
Use defines for text chars
Diffstat (limited to 'include')
-rw-r--r-- | include/string_util.h | 2 | ||||
-rw-r--r-- | include/text.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/string_util.h b/include/string_util.h index f26646082..7b685fcea 100644 --- a/include/string_util.h +++ b/include/string_util.h @@ -24,7 +24,7 @@ u8 *ConvertUIntToDecimalStringN(u8 *dest, u32 value, enum StringConvertMode mode u8 *ConvertIntToHexStringN(u8 *dest, s32 value, enum StringConvertMode mode, u8 n); u8 *StringExpandPlaceholders(u8 *dest, const u8 *src); u8 *StringBraille(u8 *dest, const u8 *src); -u8 *GetExpandedPlaceholder(u32 id); +const u8 *GetExpandedPlaceholder(u32 id); u8 *StringFill(u8 *dest, u8 c, u16 n); u8 *StringCopyPadded(u8 *dest, const u8 *src, u8 c, u16 n); u8 *StringFillWithTerminator(u8 *dest, u16 n); diff --git a/include/text.h b/include/text.h index e2120efa3..f677f2ced 100644 --- a/include/text.h +++ b/include/text.h @@ -76,6 +76,7 @@ #define CHAR_y 0xED #define CHAR_z 0xEE #define CHAR_SPECIAL_F7 0xF7 +#define CHAR_SPECIAL_F8 0xF8 #define CHAR_SPECIAL_F9 0xF9 #define CHAR_COLON 0xF0 #define CHAR_PROMPT_SCROLL 0xFA // waits for button press and scrolls dialog |