This commit is contained in:
Kurausukun 2021-03-19 18:52:37 -04:00
parent 7198d40ec8
commit 0691632ac6

View File

@ -1280,7 +1280,7 @@ s32 GetStringWidth(u8 fontId, const u8 *str, s16 letterSpacing)
default: default:
return 0; return 0;
} }
case CHAR_SPECIAL_F7: case CHAR_DYNAMIC:
if (bufferPointer == NULL) if (bufferPointer == NULL)
bufferPointer = DynamicPlaceholderTextUtil_GetPlaceholderPtr(*++str); bufferPointer = DynamicPlaceholderTextUtil_GetPlaceholderPtr(*++str);
while (*bufferPointer != EOS) while (*bufferPointer != EOS)