mshtml: Correctly set NULL event.
This commit is contained in:
parent
504b7c34d6
commit
48aadd44ae
|
@ -982,8 +982,10 @@ void fire_event(HTMLDocumentNode *doc, eventid_t eid, BOOL set_event, nsIDOMNode
|
||||||
return;
|
return;
|
||||||
|
|
||||||
event_obj = create_event(node, eid, nsevent);
|
event_obj = create_event(node, eid, nsevent);
|
||||||
}
|
|
||||||
doc->basedoc.window->event = &event_obj->IHTMLEventObj_iface;
|
doc->basedoc.window->event = &event_obj->IHTMLEventObj_iface;
|
||||||
|
}else {
|
||||||
|
doc->basedoc.window->event = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
nsIDOMNode_GetNodeType(target, &node_type);
|
nsIDOMNode_GetNodeType(target, &node_type);
|
||||||
nsnode = target;
|
nsnode = target;
|
||||||
|
|
Loading…
Reference in New Issue