diff options
Diffstat (limited to 'src/option_menu.c')
-rw-r--r-- | src/option_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/option_menu.c b/src/option_menu.c index 81f35fffa..54cca0501 100644 --- a/src/option_menu.c +++ b/src/option_menu.c @@ -571,10 +571,10 @@ static void LoadOptionMenuItemNames(void) static void UpdateSettingSelectionDisplay(u16 selection) { - u16 maxLetterHeight, y; + u16 maxLetterHeight, y; - maxLetterHeight = GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT); - y = selection * ( maxLetterHeight - 1) + 0x3A; - SetGpuReg(REG_OFFSET_WIN0V, WIN_RANGE(y, y + maxLetterHeight)); + maxLetterHeight = GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT); + y = selection * (maxLetterHeight - 1) + 0x3A; + SetGpuReg(REG_OFFSET_WIN0V, WIN_RANGE(y, y + maxLetterHeight)); SetGpuReg(REG_OFFSET_WIN0H, WIN_RANGE(0x10, 0xE0)); } |