comdlg32: Fix a typo.

This commit is contained in:
Andrew Talbot 2009-03-03 21:14:04 +00:00 committed by Alexandre Julliard
parent a86566cb91
commit 7b1c326016
1 changed files with 1 additions and 2 deletions

View File

@ -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) static LRESULT CALLBACK pagesetup_margin_editproc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
{ {
switch(msg) if (msg == WM_CHAR)
case WM_CHAR:
{ {
WCHAR decimal = get_decimal_sep(); WCHAR decimal = get_decimal_sep();
WCHAR wc = (WCHAR)wparam; WCHAR wc = (WCHAR)wparam;