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
ae534def
Commit
ae534def
authored
Dec 05, 2007
by
Kirill K. Smirnov
Committed by
Alexandre Julliard
Dec 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: winhelp >3.0 files always use 0x4000 as a divisor in TOPICPOS…
winhelp: winhelp >3.0 files always use 0x4000 as a divisor in TOPICPOS regardless of DecompressSize.
parent
56ab4a20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
hlpfile.c
programs/winhelp/hlpfile.c
+10
-2
No files found.
programs/winhelp/hlpfile.c
View file @
ae534def
...
...
@@ -354,8 +354,16 @@ static BOOL HLPFILE_DoReadHlpFile(HLPFILE *hlpfile, LPCSTR lpszPath)
{
BYTE
*
end
;
index
=
(
ref
-
0x0C
)
/
hlpfile
->
dsize
;
offset
=
(
ref
-
0x0C
)
%
hlpfile
->
dsize
;
if
(
hlpfile
->
version
<=
16
)
{
index
=
(
ref
-
0x0C
)
/
hlpfile
->
dsize
;
offset
=
(
ref
-
0x0C
)
%
hlpfile
->
dsize
;
}
else
{
index
=
(
ref
-
0x0C
)
>>
14
;
offset
=
(
ref
-
0x0C
)
&
0x3FFF
;
}
if
(
hlpfile
->
version
<=
16
&&
index
!=
old_index
&&
index
!=
0
)
{
...
...
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