Commit d7876a2c authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32: Simplify DATETIME_Char.

parent d7d6ceb4
...@@ -949,7 +949,7 @@ DATETIME_KeyDown (DATETIME_INFO *infoPtr, DWORD vkCode) ...@@ -949,7 +949,7 @@ DATETIME_KeyDown (DATETIME_INFO *infoPtr, DWORD vkCode)
static LRESULT static LRESULT
DATETIME_Char (DATETIME_INFO *infoPtr, WPARAM vkCode, LPARAM keyData) DATETIME_Char (DATETIME_INFO *infoPtr, WPARAM vkCode)
{ {
int fieldNum = infoPtr->select & DTHT_DATEFIELD; int fieldNum = infoPtr->select & DTHT_DATEFIELD;
...@@ -1353,7 +1353,7 @@ DATETIME_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) ...@@ -1353,7 +1353,7 @@ DATETIME_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return DATETIME_KeyDown (infoPtr, wParam); return DATETIME_KeyDown (infoPtr, wParam);
case WM_CHAR: case WM_CHAR:
return DATETIME_Char (infoPtr, wParam, lParam); return DATETIME_Char (infoPtr, wParam);
case WM_KILLFOCUS: case WM_KILLFOCUS:
return DATETIME_KillFocus (infoPtr, (HWND)wParam); return DATETIME_KillFocus (infoPtr, (HWND)wParam);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment