user32: Handle ES_MULTILINE correctly for WM_KEYDOWN/VK_RETURN.
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index 8afc87a..f359555 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -4596,7 +4596,7 @@
break;
case VK_RETURN:
/* If the edit doesn't want the return send a message to the default object */
- if(!(es->style & ES_WANTRETURN))
+ if(!(es->style & ES_MULTILINE) || !(es->style & ES_WANTRETURN))
{
HWND hwndParent = GetParent(es->hwndSelf);
DWORD dw = SendMessageW( hwndParent, DM_GETDEFID, 0, 0 );