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
8ecd3465
Commit
8ecd3465
authored
May 02, 2007
by
Andrey Turkin
Committed by
Alexandre Julliard
May 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Recognize and use topic specification in url or in data.
parent
38acaccd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
hhctrl.c
dlls/hhctrl.ocx/hhctrl.c
+19
-1
No files found.
dlls/hhctrl.ocx/hhctrl.c
View file @
8ecd3465
...
...
@@ -100,16 +100,34 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
case
HH_DISPLAY_TOPIC
:
case
HH_DISPLAY_TOC
:
case
HH_DISPLAY_SEARCH
:{
static
const
WCHAR
delimW
[]
=
{
':'
,
':'
,
0
};
HHInfo
*
info
;
BOOL
res
;
WCHAR
chm_file
[
MAX_PATH
];
const
WCHAR
*
index
;
FIXME
(
"Not all HH cases handled correctly
\n
"
);
index
=
strstrW
(
filename
,
delimW
);
if
(
index
)
{
memcpy
(
chm_file
,
filename
,
(
index
-
filename
)
*
sizeof
(
WCHAR
));
chm_file
[
index
-
filename
]
=
0
;
filename
=
chm_file
;
}
else
{
if
(
command
!=
HH_DISPLAY_SEARCH
)
/* FIXME - use HH_FTS_QUERYW structure in data */
index
=
(
const
WCHAR
*
)
data
;
}
info
=
CreateHelpViewer
(
filename
);
if
(
info
)
{
res
=
NavigateToChm
(
info
,
info
->
pCHMInfo
->
szFile
,
info
->
WinType
.
pszFile
);
if
(
!
index
)
index
=
info
->
WinType
.
pszFile
;
res
=
NavigateToChm
(
info
,
info
->
pCHMInfo
->
szFile
,
index
);
if
(
!
res
)
ReleaseHelpViewer
(
info
);
}
...
...
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