summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-30 15:14:23 +0000
committerrubidium <rubidium@openttd.org>2008-12-30 15:14:23 +0000
commit2fb24a8a83448220402d01d06f234706bc2b6cde (patch)
tree8f0aaa27df2ab712535f9504049edc0d01186607 /src/win32.cpp
parentf55995f1ef882b80bbda8828da378f635e8fceff (diff)
downloadopenttd-2fb24a8a83448220402d01d06f234706bc2b6cde.tar.xz
(svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation.
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index 27be2d8a1..98d626094 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -934,9 +934,9 @@ void ShowInfo(const char *str)
} else {
bool old;
#if defined(UNICODE)
- /* We need to put the text in a seperate buffer because the default
- * buffer in MB_TO_WIDE might not be large enough (512 chars) */
- wchar_t help_msgW[4096];
+ /* We need to put the text in a seperate buffer because the default
+ * buffer in MB_TO_WIDE might not be large enough (512 chars) */
+ wchar_t help_msgW[8192];
#endif
ReleaseCapture();
_left_button_clicked =_left_button_down = false;