Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e325be79
Commit
e325be79
authored
Jul 23, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use CreateURLMonikerEx2 in SuperNavigate.
parent
1e60c2f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
htmlwindow.c
dlls/mshtml/htmlwindow.c
+10
-4
No files found.
dlls/mshtml/htmlwindow.c
View file @
e325be79
...
...
@@ -1676,6 +1676,7 @@ static HRESULT WINAPI HTMLPrivateWindow_SuperNavigate(IHTMLPrivateWindow *iface,
nsChannelBSC
*
bsc
;
IMoniker
*
mon
;
BSTR
new_url
;
IUri
*
uri
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %s %s %s %s %s %x)
\n
"
,
This
,
debugstr_w
(
url
),
debugstr_w
(
arg2
),
debugstr_w
(
arg3
),
debugstr_w
(
arg4
),
...
...
@@ -1710,15 +1711,20 @@ static HRESULT WINAPI HTMLPrivateWindow_SuperNavigate(IHTMLPrivateWindow *iface,
}
}
/* FIXME: Why not set_ready_state? */
This
->
readystate
=
READYSTATE_UNINITIALIZED
;
hres
=
CreateURLMoniker
(
NULL
,
new_url
,
&
mon
);
hres
=
CreateUri
(
new_url
,
0
,
0
,
&
uri
);
if
(
new_url
!=
url
)
SysFreeString
(
new_url
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
CreateURLMonikerEx2
(
NULL
,
uri
,
&
mon
,
URL_MK_UNIFORM
);
IUri_Release
(
uri
);
if
(
FAILED
(
hres
))
return
hres
;
/* FIXME: Why not set_ready_state? */
This
->
readystate
=
READYSTATE_UNINITIALIZED
;
if
(
post_data_var
)
{
if
(
V_VT
(
post_data_var
)
==
(
VT_ARRAY
|
VT_UI1
))
{
SafeArrayAccessData
(
V_ARRAY
(
post_data_var
),
(
void
**
)
&
post_data
);
...
...
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