1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

comdlg32: Don't treat cmb1 as the printer list unless in PRINT_SETUP.

This changes WMCommandW to match WMCommandA.
This commit is contained in:
Brendan McGrath 2024-01-30 06:37:13 +11:00 committed by Alexandre Julliard
parent 39bd338a62
commit bbdc50c532

View File

@ -1988,7 +1988,10 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
}
break;
case cmb1: /* Printer Combobox in PRINT SETUP */
case cmb1: /* Printer Combobox in PRINT SETUP, quality combobox in PRINT16 */
if (PrinterComboID != LOWORD(wParam)) {
break;
}
/* FALLTHROUGH */
case cmb4: /* Printer combobox */
if (HIWORD(wParam)==CBN_SELCHANGE) {