mshtml: Check for This->frame.
This commit is contained in:
parent
ec4a46f93a
commit
fa6042fc8d
|
@ -629,6 +629,7 @@ static HRESULT exec_editmode(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
|
|||
call_set_active_object(This->ip_window, ACTOBJ(This));
|
||||
|
||||
memset(&rcBorderWidths, 0, sizeof(rcBorderWidths));
|
||||
if (This->frame)
|
||||
IOleInPlaceFrame_SetBorderSpace(This->frame, &rcBorderWidths);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue