diff mm7_3.cpp @ 1470:c987b5ed09af

footer array fix
author zipi
date Mon, 26 Aug 2013 19:11:55 +0100
parents 2ca62c9e7b3c
children 7ef4b64f6329
line wrap: on
line diff
--- a/mm7_3.cpp	Mon Aug 26 18:49:17 2013 +0100
+++ b/mm7_3.cpp	Mon Aug 26 19:11:55 2013 +0100
@@ -7763,7 +7763,7 @@
   for ( i = pFontLucida->GetLineWidth(GameUI_Footer_TimedString.data());
         i > 450;
         i = pFontLucida->GetLineWidth(GameUI_Footer_TimedString.data()) )
-    byte_5C3427[strlen(GameUI_Footer_TimedString.data())] = 0;
+    GameUI_Footer_TimedString[strlen(GameUI_Footer_TimedString.data()) - 1] = 0;
 }
 
 //----- (0044C1D0) --------------------------------------------------------