diff options
author | camthesaxman <cameronghall@cox.net> | 2018-01-09 00:16:15 -0600 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2018-01-09 00:16:15 -0600 |
commit | 8869cbc98e2f8e761e9ff89182933643992e2bd7 (patch) | |
tree | 451264077e87b691daf35d7fc4ae022544788dd5 /src/field/script_menu.c | |
parent | e57ffa0c5e3096ef8e856bbc1f2c95787c5dd0e2 (diff) |
s/gWindowConfig/gWindowTemplate/g
Diffstat (limited to 'src/field/script_menu.c')
-rw-r--r-- | src/field/script_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field/script_menu.c b/src/field/script_menu.c index bf6e93e41..ee5843049 100644 --- a/src/field/script_menu.c +++ b/src/field/script_menu.c @@ -622,7 +622,7 @@ bool8 ScriptMenu_MultichoiceWithDefault(u8 left, u8 top, u8 multichoiceId, u8 ig static u16 GetStringWidthInTilesForScriptMenu(const u8 *str) { // each tile on screen is 8x8, so it needs the number of tiles and not pixels, hence the division by 8. - return (Text_GetStringWidthFromWindowTemplate((struct WindowTemplate *)&gWindowConfig_81E6CE4, str) + 7) / 8; + return (Text_GetStringWidthFromWindowTemplate((struct WindowTemplate *)&gWindowTemplate_81E6CE4, str) + 7) / 8; } static void DrawMultichoiceMenu(u8 left, u8 top, u8 count, const struct MenuAction *list, u8 ignoreBPress, u8 cursorPos) |