mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Don't overflow the stack
svn-id: r11408
This commit is contained in:
parent
9da541f657
commit
7d5551e507
@ -135,7 +135,12 @@ void SimonEngine::render_string(uint vga_sprite_id, uint color, uint width, uint
|
||||
}
|
||||
|
||||
void SimonEngine::showMessageFormat(const char *s, ...) {
|
||||
char buf[1024], *str;
|
||||
#ifndef __PALM_OS__
|
||||
char buf[1024];
|
||||
#else
|
||||
char buf[256];
|
||||
#endif
|
||||
char *str;
|
||||
va_list va;
|
||||
|
||||
va_start(va, s);
|
||||
|
Loading…
Reference in New Issue
Block a user