Fixed a small bug in the uiArea message filter.

This commit is contained in:
Pietro Gagliardi 2015-11-27 23:00:57 -05:00
parent 09129229fd
commit 7646e8303d
1 changed files with 2 additions and 0 deletions

View File

@ -696,6 +696,8 @@ static LRESULT CALLBACK areaFilterProc(int code, WPARAM wParam, LPARAM lParam)
goto callNext; goto callNext;
// is the recipient an area? // is the recipient an area?
if (msg->hwnd == NULL) // this can happen; for example, WM_TIMER
goto callNext;
if (windowClassOf(msg->hwnd, areaClass, NULL) != 0) if (windowClassOf(msg->hwnd, areaClass, NULL) != 0)
goto callNext; // nope goto callNext; // nope