summaryrefslogtreecommitdiff
path: root/gflib/string_util.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-09-24 14:30:15 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-09-24 17:14:20 -0400
commita66d7e1b438f84bc04eb3f7d3da286882ba55019 (patch)
tree32a565c9b3cf10f1165b83bc24d3d90262c5d1a2 /gflib/string_util.c
parent09fd4fc4c57796036905cdc5caaa53fb96c436f8 (diff)
Document some single-remaining symbols
Diffstat (limited to 'gflib/string_util.c')
-rw-r--r--gflib/string_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gflib/string_util.c b/gflib/string_util.c
index addc7e4f2..b7485184a 100644
--- a/gflib/string_util.c
+++ b/gflib/string_util.c
@@ -630,7 +630,7 @@ bool32 IsStringJapanese(u8 *str)
{
while (*str != EOS)
{
- if (*str < CHAR_0)
+ if (*str <= JAPANESE_CHAR_END)
if (*str != CHAR_SPACE)
return TRUE;
str++;
@@ -639,13 +639,13 @@ bool32 IsStringJapanese(u8 *str)
return FALSE;
}
-bool32 sub_800924C(u8 *str, s32 n)
+bool32 IsStringNJapanese(u8 *str, s32 n)
{
s32 i;
for (i = 0; *str != EOS && i < n; i++)
{
- if (*str < CHAR_0)
+ if (*str <= JAPANESE_CHAR_END)
if (*str != CHAR_SPACE)
return TRUE;
str++;