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
d2daec40
Commit
d2daec40
authored
Aug 23, 2022
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Aug 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't navigate if GetDisplayUri failed.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
e783c358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
navigate.c
dlls/mshtml/navigate.c
+4
-2
No files found.
dlls/mshtml/navigate.c
View file @
d2daec40
...
...
@@ -1677,9 +1677,11 @@ static void handle_extern_mime_navigation(nsChannelBSC *This)
hres
=
IUnknown_QueryInterface
(
doc_obj
->
webbrowser
,
&
IID_IWebBrowserPriv
,
(
void
**
)
&
webbrowser_priv_old
);
if
(
SUCCEEDED
(
hres
))
{
V_VT
(
&
uriv
)
=
VT_BSTR
;
IUri_GetDisplayUri
(
uri
,
&
V_BSTR
(
&
uriv
));
V_BSTR
(
&
uriv
)
=
NULL
;
hres
=
IUri_GetDisplayUri
(
uri
,
&
V_BSTR
(
&
uriv
));
hres
=
IWebBrowserPriv_NavigateWithBindCtx
(
webbrowser_priv_old
,
&
uriv
,
&
flags
,
NULL
,
NULL
,
NULL
,
bind_ctx
,
NULL
);
if
(
hres
==
S_OK
)
hres
=
IWebBrowserPriv_NavigateWithBindCtx
(
webbrowser_priv_old
,
&
uriv
,
&
flags
,
NULL
,
NULL
,
NULL
,
bind_ctx
,
NULL
);
SysFreeString
(
V_BSTR
(
&
uriv
));
IWebBrowserPriv_Release
(
webbrowser_priv_old
);
...
...
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