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
2034439d
Commit
2034439d
authored
May 15, 2011
by
Sergey Khodych
Committed by
Alexandre Julliard
May 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Don't use separate call of UrlApplySchemeW for default scheme.
parent
c55ff281
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+1
-7
No files found.
dlls/shdocvw/shdocvw_main.c
View file @
2034439d
...
...
@@ -333,14 +333,8 @@ DWORD WINAPI ParseURLFromOutsideSourceW(LPCWSTR url, LPWSTR out, LPDWORD plen, L
if
(
!
PathIsURLW
(
ptr
))
{
len
=
sizeof
(
buffer_in
)
/
sizeof
(
buffer_in
[
0
]);
buffer_in
[
0
]
=
0
;
hr
=
UrlApplySchemeW
(
ptr
,
buffer_in
,
&
len
,
URL_APPLY_GUESSSCHEME
);
hr
=
UrlApplySchemeW
(
ptr
,
buffer_in
,
&
len
,
URL_APPLY_GUESSSCHEME
|
URL_APPLY_DEFAULT
);
TRACE
(
"got 0x%x with %s
\n
"
,
hr
,
debugstr_w
(
buffer_in
));
if
(
hr
!=
S_OK
)
{
/* when we can't guess the scheme, use the default scheme */
len
=
sizeof
(
buffer_in
)
/
sizeof
(
buffer_in
[
0
]);
hr
=
UrlApplySchemeW
(
ptr
,
buffer_in
,
&
len
,
URL_APPLY_DEFAULT
);
}
if
(
hr
==
S_OK
)
{
/* we parsed the url to buffer_in */
ptr
=
buffer_in
;
...
...
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