diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-19 04:19:14 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-01-19 04:19:14 -0500 |
commit | 9dd867689e85e2ce7f50ec9fc0344220e60a7777 (patch) | |
tree | cbdc885e05e4cfcf8c487795fb59a55b18c1e4f7 /src/main_menu.c | |
parent | 3f9037d63a46bd36f412ab7b23dd60c36e9b4cd2 (diff) |
Use ARRAY_COUNT in PrintMenuTable
Diffstat (limited to 'src/main_menu.c')
-rw-r--r-- | src/main_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_menu.c b/src/main_menu.c index 0100a3341..74af96da8 100644 --- a/src/main_menu.c +++ b/src/main_menu.c @@ -2097,7 +2097,7 @@ static void NewGameBirchSpeech_ShowGenderMenu(void) { DrawMainMenuWindowBorder(&gNewGameBirchSpeechTextWindows[1], 0xF3); FillWindowPixelBuffer(1, PIXEL_FILL(1)); - PrintMenuTable(1, 2, sMenuActions_Gender); + PrintMenuTable(1, ARRAY_COUNT(sMenuActions_Gender), sMenuActions_Gender); InitMenuInUpperLeftCornerPlaySoundWhenAPressed(1, 2, 0); PutWindowTilemap(1); CopyWindowToVram(1, 3); |