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
80b5b74f
Commit
80b5b74f
authored
Sep 30, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Sep 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Use an error code instead of -1 for signalling prefix not being found in URL_GuessScheme.
parent
739bdaeb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
url.c
dlls/shlwapi/url.c
+2
-2
No files found.
dlls/shlwapi/url.c
View file @
80b5b74f
...
...
@@ -1589,7 +1589,7 @@ static HRESULT URL_GuessScheme(LPCWSTR pszIn, LPWSTR pszOut, LPDWORD pcchOut)
index
++
;
}
RegCloseKey
(
newkey
);
return
-
1
;
return
E_FAIL
;
}
static
HRESULT
URL_ApplyDefault
(
LPCWSTR
pszIn
,
LPWSTR
pszOut
,
LPDWORD
pcchOut
)
...
...
@@ -1652,7 +1652,7 @@ HRESULT WINAPI UrlApplySchemeW(LPCWSTR pszIn, LPWSTR pszOut, LPDWORD pcchOut, DW
if
(
res1
)
{
/* no scheme in input, need to see if we need to guess */
if
(
dwFlags
&
URL_APPLY_GUESSSCHEME
)
{
if
((
ret
=
URL_GuessScheme
(
pszIn
,
pszOut
,
pcchOut
))
!=
-
1
)
if
((
ret
=
URL_GuessScheme
(
pszIn
,
pszOut
,
pcchOut
))
!=
E_FAIL
)
return
ret
;
}
}
...
...
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