diff options
author | rubidium <rubidium@openttd.org> | 2008-12-30 15:14:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-30 15:14:23 +0000 |
commit | 32583bd405ebf2b10452c30c290f5d75df964750 (patch) | |
tree | 8f0aaa27df2ab712535f9504049edc0d01186607 /src/win32.cpp | |
parent | 3c6add5293f64f7335fe0ef84606b146ce21a117 (diff) | |
download | openttd-32583bd405ebf2b10452c30c290f5d75df964750.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.cpp | 6 |
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; |