From df8806bdb4799eae4f31ff683b76a2c0bed8ea9b Mon Sep 17 00:00:00 2001 From: terkhen Date: Mon, 9 May 2011 20:29:01 +0000 Subject: (svn r22440) -Change: [Windows] Remove Cancel button from information messages. --- src/os/windows/win32.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/os') 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); } -- cgit v1.2.3-54-g00ecf