winefile: Initialize length before calling GetWindowPlacement().
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
05e40aa67d
commit
2b8a38169b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue