Commit 5cc671ee authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

user32: Fix a typo.

parent b7ffa867
......@@ -855,10 +855,8 @@ static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
if (charW == VK_RETURN || charW == VK_ESCAPE)
{
if (SendMessageW(GetParent(hwnd), CB_GETDROPPEDSTATE, 0, 0))
{
SendMessageW(GetParent(hwnd), WM_KEYDOWN, charW, 0);
break;
}
break;
}
}
result = EDIT_WM_Char(es, charW);
......
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