mshtml: Don't crash in UIActivate if Gecko is not available.

This commit is contained in:
Jacek Caban 2007-09-23 22:38:48 +02:00 committed by Alexandre Julliard
parent 75eb61cdc6
commit 23465f2183

View File

@ -577,6 +577,7 @@ static HRESULT WINAPI OleDocumentView_UIActivate(IOleDocumentView *iface, BOOL f
}
This->focus = TRUE;
if(This->nscontainer)
nsIWebBrowserFocus_Activate(This->nscontainer->focus);
notif_focus(This);