[PATCH] user.exe: Fully convert MSG16 to MSG in IsDialogMessage() (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Tue Dec 29 12:36:57 CST 2015
user32 implementation will pass converted MSG struct around,
so it's potentially important for it to be consistent.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/user.exe16/message.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/user.exe16/message.c b/dlls/user.exe16/message.c
index 935b025..7bcc8e2 100644
--- a/dlls/user.exe16/message.c
+++ b/dlls/user.exe16/message.c
@@ -1836,6 +1836,9 @@ BOOL16 WINAPI IsDialogMessage16( HWND16 hwndDlg, MSG16 *msg16 )
msg.message = msg16->message;
msg.wParam = msg16->wParam;
msg.lParam = msg16->lParam;
+ msg.time = msg16->time;
+ msg.pt.x = msg16->pt.x;
+ msg.pt.y = msg16->pt.y;
return IsDialogMessageA( hwndDlg32, &msg );
}
--
2.6.4
More information about the wine-patches
mailing list