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
8988ab8f
Commit
8988ab8f
authored
Apr 14, 2008
by
Hin-Tak Leung
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Look up in chm if url doesn't contain "://".
parent
76299b37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
help.c
dlls/hhctrl.ocx/help.c
+9
-3
No files found.
dlls/hhctrl.ocx/help.c
View file @
8988ab8f
...
...
@@ -89,9 +89,15 @@ BOOL NavigateToUrl(HHInfo *info, LPCWSTR surl)
BOOL
ret
;
HRESULT
hres
;
hres
=
navigate_url
(
info
,
surl
);
if
(
SUCCEEDED
(
hres
))
return
TRUE
;
static
const
WCHAR
url_indicator
[]
=
{
':'
,
'/'
,
'/'
};
TRACE
(
"%s
\n
"
,
debugstr_w
(
surl
));
if
(
strstrW
(
surl
,
url_indicator
))
{
hres
=
navigate_url
(
info
,
surl
);
if
(
SUCCEEDED
(
hres
))
return
TRUE
;
}
/* look up in chm if it doesn't look like a full url */
SetChmPath
(
&
chm_path
,
info
->
pCHMInfo
->
szFile
,
surl
);
ret
=
NavigateToChm
(
info
,
chm_path
.
chm_file
,
chm_path
.
chm_index
);
...
...
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