summaryrefslogtreecommitdiff
path: root/src/map_name_popup.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-30 16:47:37 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-10-30 19:54:15 -0400
commitfdaf436960b4a1feab037eafdb76e279ddc787e2 (patch)
treeae3f64daa53651e84e728e5bd955d90ee7cad7c5 /src/map_name_popup.c
parent13cd2a41f03ca56f45cab6769cb2738070cc5cf2 (diff)
Add font id constants
Diffstat (limited to 'src/map_name_popup.c')
-rw-r--r--src/map_name_popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map_name_popup.c b/src/map_name_popup.c
index 97b02acf6..88a06eed4 100644
--- a/src/map_name_popup.c
+++ b/src/map_name_popup.c
@@ -325,11 +325,11 @@ static void ShowMapNamePopUpWindow(void)
}
AddMapNamePopUpWindow();
LoadMapNamePopUpWindowBg();
- x = GetStringCenterAlignXOffset(7, withoutPrefixPtr, 80);
+ x = GetStringCenterAlignXOffset(FONT_NARROW, withoutPrefixPtr, 80);
mapDisplayHeader[0] = EXT_CTRL_CODE_BEGIN;
mapDisplayHeader[1] = EXT_CTRL_CODE_HIGHLIGHT;
mapDisplayHeader[2] = TEXT_COLOR_TRANSPARENT;
- AddTextPrinterParameterized(GetMapNamePopUpWindowId(), 7, mapDisplayHeader, x, 3, 0xFF, NULL);
+ AddTextPrinterParameterized(GetMapNamePopUpWindowId(), FONT_NARROW, mapDisplayHeader, x, 3, 0xFF, NULL);
CopyWindowToVram(GetMapNamePopUpWindowId(), 3);
}