diff options
Diffstat (limited to 'sword1')
-rw-r--r-- | sword1/control.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp index 996c4bff63..eddb799e2f 100644 --- a/sword1/control.cpp +++ b/sword1/control.cpp @@ -698,11 +698,7 @@ void Control::readSavegameDescriptions(void) { } int Control::displayMessage(const char *altButton, const char *message, ...) { -#ifdef __PALM_OS__ - char buf[256]; // 1024 is too big overflow the stack -#else - char buf[1024]; -#endif + char buf[STRINGBUFLEN]; va_list va; va_start(va, message); |