fix mistake, wrong enum

This commit is contained in:
Ted John committed 2016-04-25 23:20:54 +01:00
1 parent 489ea66cc9
commit 7be699adbb
1 file changed
+1 -1
+1 -1
View File
@@ -597,7 +597,7 @@ int string_get_height_raw(char *buffer)
uint16 fontBase = gCurrentFontSpriteBase;
int height = 0;
if (fontBase <= FONT_SIZE_MEDIUM)
if (fontBase <= FONT_SPRITE_BASE_MEDIUM)
height += 10;
else if (fontBase == FONT_SPRITE_BASE_TINY)
height += 6;