Marcus Meissner : mshtml: Check for This->frame.
Module: wine Branch: master Commit: fa6042fc8d93908ac73b43a051d1bfe0e8d54851 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa6042fc8d93908ac73b43a051... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Sun Jan 13 12:27:14 2008 +0100 mshtml: Check for This->frame. --- dlls/mshtml/olecmd.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/olecmd.c b/dlls/mshtml/olecmd.c index 326b0b0..afc3cc8 100644 --- a/dlls/mshtml/olecmd.c +++ b/dlls/mshtml/olecmd.c @@ -629,7 +629,8 @@ static HRESULT exec_editmode(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in, call_set_active_object(This->ip_window, ACTOBJ(This)); memset(&rcBorderWidths, 0, sizeof(rcBorderWidths)); - IOleInPlaceFrame_SetBorderSpace(This->frame, &rcBorderWidths); + if (This->frame) + IOleInPlaceFrame_SetBorderSpace(This->frame, &rcBorderWidths); } return S_OK;
participants (1)
-
Alexandre Julliard