From 2abe17e5946ba25a0a2cbb106ebe310f4d9f57d4 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Tue, 9 Nov 2004 10:26:33 +0000 Subject: Cleanup svn-id: r15739 --- sword1/control.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sword1') 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); -- cgit v1.2.3