mshtml: Check for EVENTID_LAST in ensure_doc_nsevent_handler().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50110
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-11-11 20:27:55 +03:00 committed by Alexandre Julliard
parent 3b230b58c8
commit 8ea8984196
1 changed files with 2 additions and 0 deletions

View File

@ -2832,6 +2832,8 @@ HRESULT ensure_doc_nsevent_handler(HTMLDocumentNode *doc, nsIDOMNode *nsnode, ev
doc->event_vector[eid] = TRUE;
eid = EVENTID_BLUR;
break;
case EVENTID_LAST:
return S_OK;
default:
break;
}