diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-03 13:17:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 13:17:29 -0400 |
commit | e14210ce1f9be3ae894490a4e3050832aecbdde7 (patch) | |
tree | 6f91b9a6be1ec65ee31fef1883882a0a458236ac /gflib/string_util.c | |
parent | 0ba22ca1124bf5cf37ba2934fda4ec1a9cca02a6 (diff) | |
parent | 929aade0fd0e5ea0fba4e18650bda02e6a943ba5 (diff) |
Merge pull request #1536 from GriffinRichards/clean-braille
Add font id constants, better braille support
Diffstat (limited to 'gflib/string_util.c')
-rw-r--r-- | gflib/string_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gflib/string_util.c b/gflib/string_util.c index 4bf0d2ae9..9463b4a7b 100644 --- a/gflib/string_util.c +++ b/gflib/string_util.c @@ -206,7 +206,7 @@ u8 *ConvertIntToDecimalStringN(u8 *dest, s32 value, enum StringConvertMode mode, } else if (state == WRITING_SPACES) { - *dest++ = 0x77; + *dest++ = CHAR_SPACER; } value = temp; @@ -262,7 +262,7 @@ u8 *ConvertUIntToDecimalStringN(u8 *dest, u32 value, enum StringConvertMode mode } else if (state == WRITING_SPACES) { - *dest++ = 0x77; + *dest++ = CHAR_SPACER; } value = temp; @@ -322,7 +322,7 @@ u8 *ConvertIntToHexStringN(u8 *dest, s32 value, enum StringConvertMode mode, u8 } else if (state == WRITING_SPACES) { - *dest++ = 0x77; + *dest++ = CHAR_SPACER; } value = temp; @@ -414,7 +414,7 @@ u8 *StringBraille(u8 *dest, const u8 *src) break; default: *dest++ = c; - *dest++ = c + 0x40; + *dest++ = c + NUM_BRAILLE_CHARS; break; } } |