Fixed a bug that could cause memory segfaults or bad behaviour.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 29 Apr 2004 22:08:16 +0000 (22:08 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 29 Apr 2004 22:08:16 +0000 (22:08 +0000)
SVN-Revision: 852

src/menu.cpp

index c299975..67f4bbc 100644 (file)
@@ -212,7 +212,7 @@ else
     }
   }
 
-char str[1024];
+static char str[1024];
 if(input_flickering)
   sprintf(str,"%s-",input);
 else