Changeset - r23591:81f1c7fc688f
[Not reviewed]
master
0 1 0
glx22 - 5 years ago 2019-04-07 19:52:30
glx22@users.noreply.github.com
Fix: [Windows] OpenTTD window may be inactive when an error happens (#7482)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/os/windows/win32.cpp
Show inline comments
 
@@ -79,7 +79,7 @@ bool LoadLibraryList(Function proc[], co
 
void ShowOSErrorBox(const char *buf, bool system)
 
{
 
	MyShowCursor(true);
 
	MessageBox(GetActiveWindow(), OTTD2FS(buf), _T("Error!"), MB_ICONSTOP);
 
	MessageBox(GetActiveWindow(), OTTD2FS(buf), _T("Error!"), MB_ICONSTOP | MB_TASKMODAL);
 
}
 

	
 
void OSOpenBrowser(const char *url)
0 comments (0 inline, 0 general)