Commit f833ac75 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed NULL event_obj handling in fire_event_obj.

parent 2f7afbeb
...@@ -1042,7 +1042,7 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e ...@@ -1042,7 +1042,7 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e
window = doc->window; window = doc->window;
prev_event = window->event; prev_event = window->event;
window->event = &event_obj->IHTMLEventObj_iface; window->event = event_obj ? &event_obj->IHTMLEventObj_iface : NULL;
nsIDOMNode_GetNodeType(target, &node_type); nsIDOMNode_GetNodeType(target, &node_type);
nsnode = target; nsnode = target;
......
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