Focus the main window when showing the log.

This commit is contained in:
Unknown W. Brackets 2013-02-17 00:38:50 -08:00
parent 6eae8ed36a
commit ff8390123a

View File

@ -161,6 +161,8 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
}
// else
// MainWindow::BrowseAndBoot();
if (!hideLog)
SetForegroundWindow(hwndMain);
if (fileToStart != NULL && stateToLoad != NULL)
SaveState::Load(stateToLoad);