Andrew Talbot : comdlg32: Fix a typo.

Alexandre Julliard julliard at winehq.org
Wed Mar 4 09:00:50 CST 2009


Module: wine
Branch: master
Commit: 7b1c326016d0f4b864d94f6cc1eef10b138b48a9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b1c326016d0f4b864d94f6cc1eef10b138b48a9

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Mar  3 21:14:04 2009 +0000

comdlg32: Fix a typo.

---

 dlls/comdlg32/printdlg.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index 318c82b..6726c6a 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;




More information about the wine-cvs mailing list