[PATCH 05/10] comdlg32: We only want to check the low word of wparam.
David Hedberg
david.hedberg at gmail.com
Thu Mar 31 22:52:27 CDT 2011
---
dlls/comdlg32/itemdlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index 92ea665..0d75c33 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -518,7 +518,7 @@ static LRESULT on_command_filetype(FileDialogImpl *This, WPARAM wparam, LPARAM l
static LRESULT on_wm_command(FileDialogImpl *This, WPARAM wparam, LPARAM lparam)
{
- switch(wparam)
+ switch(LOWORD(wparam))
{
case IDOK: return on_idok(This);
case IDCANCEL: return on_idcancel(This);
--
1.7.4.1
More information about the wine-patches
mailing list