Mercurial > might-and-magic-trilogy
diff OSAPI.cpp @ 87:c0cf9393af64
Слияние
author | Ritor1 |
---|---|
date | Mon, 29 Oct 2012 09:28:08 +0600 |
parents | fde5c5acb66e |
children | 918dca162239 |
line wrap: on
line diff
--- a/OSAPI.cpp Mon Oct 22 09:20:49 2012 +0600 +++ b/OSAPI.cpp Mon Oct 29 09:28:08 2012 +0600 @@ -9,8 +9,9 @@ int __stdcall wWinMain(HINSTANCE hInstance, HINSTANCE, wchar_t *lpCmdLine, int nShowCmd) { Log::Initialize(); - - if (HWND hMM7Window = FindWindowW(L"MM7", 0)) + + //if (HWND hMM7Window = FindWindowW(L"MM7", 0)) + if (HWND hMM7Window = FindWindowW(L"M&MTrilogy", 0)) { if (IsIconic(hMM7Window)) ShowWindow(hMM7Window, SW_RESTORE);