1
0
Fork 0
forked from fte/fteqw

Stops a recursive error when the MessageBox function tells us that it's appeared, over and over and over again, causing more MessageBoxes... Grr.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1647 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-12-01 01:24:07 +00:00
parent 3931528beb
commit 77474af3b2

View file

@ -1292,6 +1292,12 @@ LONG WINAPI GLMainWndProc (
break;
case WM_ACTIVATE:
if (fActive == LOWORD(wParam))
if (fMinimized == (BOOL) HIWORD(wParam))
//so, urm, tell me microsoft, what changed?
break;
fActive = LOWORD(wParam);
fMinimized = (BOOL) HIWORD(wParam);
GLAppActivate(!(fActive == WA_INACTIVE), fMinimized);