diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-03 13:17:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 13:17:29 -0400 |
commit | e14210ce1f9be3ae894490a4e3050832aecbdde7 (patch) | |
tree | 6f91b9a6be1ec65ee31fef1883882a0a458236ac /src/map_name_popup.c | |
parent | 0ba22ca1124bf5cf37ba2934fda4ec1a9cca02a6 (diff) | |
parent | 929aade0fd0e5ea0fba4e18650bda02e6a943ba5 (diff) |
Merge pull request #1536 from GriffinRichards/clean-braille
Add font id constants, better braille support
Diffstat (limited to 'src/map_name_popup.c')
-rw-r--r-- | src/map_name_popup.c | 4 |
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); } |