diff options
author | terkhen <terkhen@openttd.org> | 2011-05-09 20:29:01 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-05-09 20:29:01 +0000 |
commit | df8806bdb4799eae4f31ff683b76a2c0bed8ea9b (patch) | |
tree | 5117c56f83c41a7fadb05b02ddefcd31eb6204a8 /src/os/windows | |
parent | b7c6424104e6261599a00f81e7e2aa1754454a18 (diff) | |
download | openttd-df8806bdb4799eae4f31ff683b76a2c0bed8ea9b.tar.xz |
(svn r22440) -Change: [Windows] Remove Cancel button from information messages.
Diffstat (limited to 'src/os/windows')
-rw-r--r-- | src/os/windows/win32.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os/windows/win32.cpp b/src/os/windows/win32.cpp index 14f010a76..a66d3d65c 100644 --- a/src/os/windows/win32.cpp +++ b/src/os/windows/win32.cpp @@ -376,9 +376,7 @@ void ShowInfo(const char *str) * buffer in MB_TO_WIDE might not be large enough (512 chars) */ wchar_t help_msgW[8192]; #endif - if (MessageBox(GetActiveWindow(), MB_TO_WIDE_BUFFER(str, help_msgW, lengthof(help_msgW)), _T("OpenTTD"), MB_ICONINFORMATION | MB_OKCANCEL) == IDCANCEL) { - CreateConsole(); - } + MessageBox(GetActiveWindow(), MB_TO_WIDE_BUFFER(str, help_msgW, lengthof(help_msgW)), _T("OpenTTD"), MB_ICONINFORMATION | MB_OK); } MyShowCursor(old); } |