summaryrefslogtreecommitdiff
path: root/src/apprentice.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-03 13:17:29 -0400
committerGitHub <noreply@github.com>2021-11-03 13:17:29 -0400
commite14210ce1f9be3ae894490a4e3050832aecbdde7 (patch)
tree6f91b9a6be1ec65ee31fef1883882a0a458236ac /src/apprentice.c
parent0ba22ca1124bf5cf37ba2934fda4ec1a9cca02a6 (diff)
parent929aade0fd0e5ea0fba4e18650bda02e6a943ba5 (diff)
Merge pull request #1536 from GriffinRichards/clean-braille
Add font id constants, better braille support
Diffstat (limited to 'src/apprentice.c')
-rw-r--r--src/apprentice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apprentice.c b/src/apprentice.c
index 5d1c4287b..032b76715 100644
--- a/src/apprentice.c
+++ b/src/apprentice.c
@@ -632,7 +632,7 @@ static void CreateApprenticeMenu(u8 menu)
pixelWidth = 0;
for (i = 0; i < count; i++)
{
- s32 width = GetStringWidth(1, strings[i], 0);
+ s32 width = GetStringWidth(FONT_NORMAL, strings[i], 0);
if (width > pixelWidth)
pixelWidth = width;
}
@@ -643,7 +643,7 @@ static void CreateApprenticeMenu(u8 menu)
SetStandardWindowBorderStyle(windowId, 0);
for (i = 0; i < count; i++)
- AddTextPrinterParameterized(windowId, 1, strings[i], 8, (i * 16) + 1, TEXT_SPEED_FF, NULL);
+ AddTextPrinterParameterized(windowId, FONT_NORMAL, strings[i], 8, (i * 16) + 1, TEXT_SPEED_FF, NULL);
InitMenuInUpperLeftCornerPlaySoundWhenAPressed(windowId, count, 0);
CreateChooseAnswerTask(TRUE, count, windowId);