Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
687a2aea
Commit
687a2aea
authored
Feb 07, 2010
by
Erich Hoover
Committed by
Alexandre Julliard
Feb 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Fix HTML Help Index tab with alternative 'keyword' style.
parent
a0f53e7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
index.c
dlls/hhctrl.ocx/index.c
+12
-0
No files found.
dlls/hhctrl.ocx/index.c
View file @
687a2aea
...
@@ -36,6 +36,12 @@ static void fill_index_tree(HWND hwnd, IndexItem *item)
...
@@ -36,6 +36,12 @@ static void fill_index_tree(HWND hwnd, IndexItem *item)
while
(
item
)
{
while
(
item
)
{
TRACE
(
"tree debug: %s
\n
"
,
debugstr_w
(
item
->
keyword
));
TRACE
(
"tree debug: %s
\n
"
,
debugstr_w
(
item
->
keyword
));
if
(
!
item
->
keyword
)
{
FIXME
(
"HTML Help index item has no keyword.
\n
"
);
item
=
item
->
next
;
continue
;
}
memset
(
&
lvi
,
0
,
sizeof
(
lvi
));
memset
(
&
lvi
,
0
,
sizeof
(
lvi
));
lvi
.
iItem
=
index
++
;
lvi
.
iItem
=
index
++
;
lvi
.
mask
=
LVIF_TEXT
|
LVIF_PARAM
;
lvi
.
mask
=
LVIF_TEXT
|
LVIF_PARAM
;
...
@@ -79,6 +85,12 @@ static void parse_index_obj_node_param(IndexItem *item, const char *text)
...
@@ -79,6 +85,12 @@ static void parse_index_obj_node_param(IndexItem *item, const char *text)
}
}
if
(
!
strncasecmp
(
"keyword"
,
ptr
,
len
))
{
if
(
!
strncasecmp
(
"keyword"
,
ptr
,
len
))
{
param
=
&
item
->
keyword
;
param
=
&
item
->
keyword
;
}
else
if
(
!
item
->
keyword
&&
!
strncasecmp
(
"name"
,
ptr
,
len
))
{
/* Some HTML Help index files use an additional "name" parameter
* rather than the "keyword" parameter. In this case, the first
* occurance of the "name" parameter is the keyword.
*/
param
=
&
item
->
keyword
;
}
else
if
(
!
strncasecmp
(
"name"
,
ptr
,
len
))
{
}
else
if
(
!
strncasecmp
(
"name"
,
ptr
,
len
))
{
item
->
itemFlags
|=
0x01
;
item
->
itemFlags
|=
0x01
;
param
=
&
item
->
items
[
item
->
nItems
-
1
].
name
;
param
=
&
item
->
items
[
item
->
nItems
-
1
].
name
;
...
...
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