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
d1a5ce53
Commit
d1a5ce53
authored
Apr 18, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Apr 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Remove unneeded shadow variables.
parent
7aa160a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
hlpfile.c
programs/winhlp32/hlpfile.c
+1
-2
No files found.
programs/winhlp32/hlpfile.c
View file @
d1a5ce53
...
...
@@ -1527,7 +1527,6 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd,
case
0x88
:
{
BYTE
type
=
format
[
1
];
LONG
size
;
/* FIXME: we don't use 'BYTE pos = (*format - 0x86);' for the image position */
format
+=
2
;
...
...
@@ -2078,9 +2077,9 @@ static BOOL HLPFILE_SystemCommands(HLPFILE* hlpfile)
if
(
hlpfile
->
windows
)
{
unsigned
flags
=
GET_USHORT
(
ptr
,
4
);
HLPFILE_WINDOWINFO
*
wi
=
&
hlpfile
->
windows
[
hlpfile
->
numWindows
-
1
];
flags
=
GET_USHORT
(
ptr
,
4
);
if
(
flags
&
0x0001
)
strcpy
(
wi
->
type
,
&
str
[
2
]);
else
wi
->
type
[
0
]
=
'\0'
;
if
(
flags
&
0x0002
)
strcpy
(
wi
->
name
,
&
str
[
12
]);
...
...
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