diff --git a/dlls/user.exe16/dialog.c b/dlls/user.exe16/dialog.c index a194a586900..fead42d34a1 100644 --- a/dlls/user.exe16/dialog.c +++ b/dlls/user.exe16/dialog.c @@ -658,7 +658,7 @@ LRESULT WINAPI SendDlgItemMessage16( HWND16 hwnd, INT16 id, UINT16 msg, */ void WINAPI MapDialogRect16( HWND16 hwnd, LPRECT16 rect ) { - RECT rect32; + RECT rect32 = { rect->left, rect->top, rect->right, rect->bottom }; MapDialogRect( WIN_Handle32(hwnd), &rect32 ); rect->left = rect32.left; rect->right = rect32.right;