diff options
Diffstat (limited to 'simon')
-rw-r--r-- | simon/charset.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/simon/charset.cpp b/simon/charset.cpp index aba76f03d5..6f078acb92 100644 --- a/simon/charset.cpp +++ b/simon/charset.cpp @@ -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); |