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
3fac812b
Commit
3fac812b
authored
Nov 08, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Added support for macros as hotspots' target.
parent
38df8cfb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
hlpfile.c
programs/winhlp32/hlpfile.c
+10
-4
No files found.
programs/winhlp32/hlpfile.c
View file @
3fac812b
...
...
@@ -797,17 +797,27 @@ static void HLPFILE_AddHotSpotLinks(struct RtfData* rd, HLPFILE* file,
*/
str
+=
strlen
(
str
)
+
1
;
/* skip hotspot name */
hslink
=
NULL
;
switch
(
start
[
7
+
15
*
i
+
0
])
/* The next two chars always look like 0x04 0x00 ???
* What are they for ?
*/
{
case
0xC8
:
hslink
=
(
HLPFILE_HOTSPOTLINK
*
)
HLPFILE_AllocLink
(
rd
,
hlp_link_macro
,
str
,
-
1
,
0
,
0
,
1
,
-
1
);
break
;
case
0xE6
:
case
0xE7
:
hslink
=
(
HLPFILE_HOTSPOTLINK
*
)
HLPFILE_AllocLink
(
rd
,
(
start
[
7
+
15
*
i
+
0
]
&
1
)
?
hlp_link_link
:
hlp_link_popup
,
file
->
lpszPath
,
-
1
,
HLPFILE_Hash
(
str
),
0
,
1
,
-
1
);
break
;
default:
WINE_FIXME
(
"unknown hotsport target 0x%x
\n
"
,
start
[
7
+
15
*
i
+
0
]);
}
if
(
hslink
)
{
hslink
->
x
=
GET_USHORT
(
start
,
7
+
15
*
i
+
3
);
...
...
@@ -816,10 +826,6 @@ static void HLPFILE_AddHotSpotLinks(struct RtfData* rd, HLPFILE* file,
hslink
->
height
=
GET_USHORT
(
start
,
7
+
15
*
i
+
9
);
/* target = GET_UINT(start, 7 + 15 * i + 11); */
}
break
;
default:
WINE_FIXME
(
"unknown hotsport target 0x%x
\n
"
,
start
[
7
+
15
*
i
+
0
]);
}
str
+=
strlen
(
str
)
+
1
;
}
}
...
...
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