summaryrefslogtreecommitdiff
path: root/src/string_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_util.c')
-rw-r--r--src/string_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_util.c b/src/string_util.c
index a2d2d9cd2..05c415478 100644
--- a/src/string_util.c
+++ b/src/string_util.c
@@ -317,7 +317,7 @@ u8 *ConvertIntToHexStringN(u8 *dest, s32 value, enum StringConvertMode mode, u8
}
else if (digit != 0 || powerOfSixteen == 1)
{
- state = 1;
+ state = WRITING_DIGITS;
out = dest++;
if (digit <= 0xF)