summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/koopatlas/hud.cpp')
-rw-r--r--src/koopatlas/hud.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp
index 7ed1b5d..117773f 100644
--- a/src/koopatlas/hud.cpp
+++ b/src/koopatlas/hud.cpp
@@ -475,14 +475,14 @@ void dWMHud_c::loadHeaderInfo() {
void dWMHud_c::loadFooterInfo() {
SaveBlock *save = GetSaveFile()->GetBlock(-1);
- wchar_t convertedWorldName[36];
+ wchar_t convertedWorldName[32];
int i;
- for (i = 0; i < 36; i++) {
+ for (i = 0; i < 32; i++) {
convertedWorldName[i] = save->newerWorldName[i];
if (convertedWorldName[i] == 0)
break;
}
- convertedWorldName[35] = 0;
+ convertedWorldName[31] = 0;
WorldName->SetString(convertedWorldName);
WorldNameS->SetString(convertedWorldName);