Skip to content
Snippets Groups Projects
Commit a94a84b5 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Fix segfault on early WM_GETMINMAXINFO

parent 9dd3b810
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment