ref: 295e70ded843f11151b84f91b8bce4ddeab5dcb6
parent: 86412f052815b1f714370ff77bf24c05ee88cba2
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jan 7 01:43:04 EST 2020
Correct a misnamed variable
--- a/src/MapName.cpp
+++ b/src/MapName.cpp
@@ -129,9 +129,9 @@
void RestoreMapName(void)
{
- int len = (int)strlen(gMapName.name);
+ int a = (int)strlen(gMapName.name);
CortBox2(&rc, 0, SURFACE_ID_ROOM_NAME);
- PutText2(((160 - (len * 6)) / 2) + 6, 1, gMapName.name, RGB(0x11, 0x00, 0x22), SURFACE_ID_ROOM_NAME);
- PutText2(((160 - (len * 6)) / 2) + 6, 0, gMapName.name, RGB(0xFF, 0xFF, 0xFE), SURFACE_ID_ROOM_NAME);
+ PutText2(((160 - (a * 6)) / 2) + 6, 1, gMapName.name, RGB(0x11, 0x00, 0x22), SURFACE_ID_ROOM_NAME);
+ PutText2(((160 - (a * 6)) / 2) + 6, 0, gMapName.name, RGB(0xFF, 0xFF, 0xFE), SURFACE_ID_ROOM_NAME);
}