[Super-tux-devel] Re: [Super-tux-commit] supertux/src menu.cpp,1.62,1.63
Brought to you by:
wkendrick
From: Ingo R. <gr...@gm...> - 2004-04-29 23:31:41
|
Ricardo Cruz <rm...@us...> writes: > Log Message: > Fixed a bug that could cause memory segfaults or bad behaviour. > > -char str[1024]; > +static char str[1024]; > if(input_flickering) > sprintf(str,"%s-",input); > else How about using proper std::string in the first place instead of doing char* vodoo? -- WWW: http://pingus.seul.org/~grumbel/ JabberID: gr...@ja... ICQ: 59461927 |