diff GUIWindow.cpp @ 200:1527f66fd81b

Buffer overflow in credits window
author Nomad
date Sat, 16 Feb 2013 22:35:58 +0200
parents e6e348d66a75
children f7c268995788
line wrap: on
line diff
--- a/GUIWindow.cpp	Sat Feb 16 22:20:51 2013 +0200
+++ b/GUIWindow.cpp	Sat Feb 16 22:35:58 2013 +0200
@@ -1796,7 +1796,6 @@
   int uWidtha; // [sp+14h] [bp+4h]@66
   int a4a; // [sp+20h] [bp+10h]@15
 
-  uNextFreeWindowID = 0;
   for (uNextFreeWindowID = 0; uNextFreeWindowID < 20; ++uNextFreeWindowID)
   {
     if (pWindowList[uNextFreeWindowID].eWindowType == WINDOW_null)