Fix segfault on early WM_GETMINMAXINFO
This commit is contained in:
parent
9dd3b8101a
commit
a94a84b507
@ -560,6 +560,10 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
||||
{
|
||||
int xoff, yoff;
|
||||
MINMAXINFO* mmi = (MINMAXINFO*) lParam;
|
||||
|
||||
if (!window)
|
||||
break;
|
||||
|
||||
getFullWindowSize(getWindowStyle(window), getWindowExStyle(window),
|
||||
0, 0, &xoff, &yoff);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user