Commit b2575dab authored by David Hedberg's avatar David Hedberg Committed by Alexandre Julliard

comdlg32: We only want to check the low word of wparam.

parent 209069ae
......@@ -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);
......
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