summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-08 05:37:19 +0200
committerTreeki <treeki@gmail.com>2012-10-08 05:37:19 +0200
commitd95bd02a18814ad629cf5fc7fb60449f2ba7a418 (patch)
tree7f9ae63739abf904b6533c5a8161c29cac05980f /src/koopatlas/hud.cpp
parent196cbc2f41b72dea9b228815eb61d90a988c817d (diff)
downloadkamek-d95bd02a18814ad629cf5fc7fb60449f2ba7a418.tar.gz
kamek-d95bd02a18814ad629cf5fc7fb60449f2ba7a418.zip
skawo can go fuck himself with a rake
Diffstat (limited to '')
-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);