From: Ricardo Cruz Date: Thu, 29 Apr 2004 22:08:16 +0000 (+0000) Subject: Fixed a bug that could cause memory segfaults or bad behaviour. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b81f3d76255a95b9f72713ba05ace0c7055b743a;p=supertux.git Fixed a bug that could cause memory segfaults or bad behaviour. SVN-Revision: 852 --- diff --git a/src/menu.cpp b/src/menu.cpp index c299975de..67f4bbc90 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -212,7 +212,7 @@ else } } -char str[1024]; +static char str[1024]; if(input_flickering) sprintf(str,"%s-",input); else