Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5e7cf798
Commit
5e7cf798
authored
Oct 10, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't crash in UIActivate if hostui is NULL.
parent
8db98e9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
view.c
dlls/mshtml/view.c
+7
-5
No files found.
dlls/mshtml/view.c
View file @
5e7cf798
...
...
@@ -605,11 +605,13 @@ static HRESULT WINAPI OleDocumentView_UIActivate(IOleDocumentView *iface, BOOL f
return
hres
;
}
hres
=
IDocHostUIHandler_ShowUI
(
This
->
hostui
,
This
->
usermode
==
EDITMODE
?
DOCHOSTUITYPE_AUTHOR
:
DOCHOSTUITYPE_BROWSE
,
ACTOBJ
(
This
),
CMDTARGET
(
This
),
This
->
frame
,
This
->
ip_window
);
if
(
FAILED
(
hres
))
IDocHostUIHandler_HideUI
(
This
->
hostui
);
if
(
This
->
hostui
)
{
hres
=
IDocHostUIHandler_ShowUI
(
This
->
hostui
,
This
->
usermode
==
EDITMODE
?
DOCHOSTUITYPE_AUTHOR
:
DOCHOSTUITYPE_BROWSE
,
ACTOBJ
(
This
),
CMDTARGET
(
This
),
This
->
frame
,
This
->
ip_window
);
if
(
FAILED
(
hres
))
IDocHostUIHandler_HideUI
(
This
->
hostui
);
}
if
(
This
->
ip_window
)
call_set_active_object
(
This
->
ip_window
,
ACTOBJ
(
This
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment