From 7b1c326016d0f4b864d94f6cc1eef10b138b48a9 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 3 Mar 2009 21:14:04 +0000 Subject: [PATCH] comdlg32: Fix a typo. --- dlls/comdlg32/printdlg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c index 318c82b7a45..6726c6a9cba 100644 --- a/dlls/comdlg32/printdlg.c +++ b/dlls/comdlg32/printdlg.c @@ -3412,8 +3412,7 @@ PRINTDLG_PagePaintProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) */ static LRESULT CALLBACK pagesetup_margin_editproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { - switch(msg) - case WM_CHAR: + if (msg == WM_CHAR) { WCHAR decimal = get_decimal_sep(); WCHAR wc = (WCHAR)wparam;