aboutsummaryrefslogtreecommitdiff
path: root/sword1/control.cpp
diff options
context:
space:
mode:
authorChris Apers2004-11-09 10:26:33 +0000
committerChris Apers2004-11-09 10:26:33 +0000
commit2abe17e5946ba25a0a2cbb106ebe310f4d9f57d4 (patch)
tree4ab49b7ce05bcc2f557625e7510848ee0d2e4684 /sword1/control.cpp
parent0823f2be2a8472a016d6f113210d2206f3449f71 (diff)
downloadscummvm-rg350-2abe17e5946ba25a0a2cbb106ebe310f4d9f57d4.tar.gz
scummvm-rg350-2abe17e5946ba25a0a2cbb106ebe310f4d9f57d4.tar.bz2
scummvm-rg350-2abe17e5946ba25a0a2cbb106ebe310f4d9f57d4.zip
Cleanup
svn-id: r15739
Diffstat (limited to 'sword1/control.cpp')
-rw-r--r--sword1/control.cpp6
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);