From b49f914597bcf8fdd6787051033ab30f44519b05 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 18 Aug 2004 21:00:05 +0000 Subject: [PATCH] Fix printer selection in PD_PRINTSETUP type dialogs. --- dlls/commdlg/printdlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/commdlg/printdlg.c b/dlls/commdlg/printdlg.c index c7eadd00728..2b917b12afc 100644 --- a/dlls/commdlg/printdlg.c +++ b/dlls/commdlg/printdlg.c @@ -1514,7 +1514,7 @@ LRESULT PRINTDLG_WMCommandA(HWND hDlg, WPARAM wParam, break; case cmb1: /* Printer Combobox in PRINT SETUP, quality combobox in PRINT */ - if (PrinterComboID != wParam) { + if (PrinterComboID != LOWORD(wParam)) { FIXME("No handling for print quality combo box yet.\n"); break; } @@ -1678,7 +1678,7 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam, break; case cmb1: /* Printer Combobox in PRINT SETUP, quality combobox in PRINT */ - if (PrinterComboID != wParam) { + if (PrinterComboID != LOWORD(wParam)) { FIXME("No handling for print quality combo box yet.\n"); break; }