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

This commit is contained in:
David Hedberg 2011-04-01 05:52:27 +02:00 committed by Alexandre Julliard
parent 209069ae46
commit b2575dab62
1 changed files with 1 additions and 1 deletions

View File

@ -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);