Commit 2b8a3816 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winefile: Initialize length before calling GetWindowPlacement().

parent 05e40aa6
......@@ -1923,6 +1923,7 @@ static void frame_get_clientspace(HWND hwnd, PRECT prect)
else {
WINDOWPLACEMENT wp;
wp.length = sizeof(wp);
GetWindowPlacement(hwnd, &wp);
prect->left = prect->top = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment