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
183eae90
Commit
183eae90
authored
Jun 14, 2001
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Multiple *ptr++ constructs in one expression have undefined behaviour,
moved them out of the expression.
parent
dae8de69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
dib.c
objects/dib.c
+5
-4
No files found.
objects/dib.c
View file @
183eae90
...
...
@@ -559,10 +559,11 @@ INT WINAPI GetDIBits(
LPBYTE
srcbits
=
sbits
;
for
(
y
=
0
;
y
<
lines
;
y
++
)
{
for
(
x
=
0
;
x
<
srcwidth
;
x
++
)
*
dstbits
++
=
((
*
srcbits
++
>>
3
)
&
bmask
)
|
(((
WORD
)
*
srcbits
++
<<
2
)
&
gmask
)
|
(((
WORD
)
*
srcbits
++
<<
7
)
&
rmask
);
for
(
x
=
0
;
x
<
srcwidth
;
x
++
,
srcbits
+=
3
)
*
dstbits
++
=
((
srcbits
[
0
]
>>
3
)
&
bmask
)
|
(((
WORD
)
srcbits
[
1
]
<<
2
)
&
gmask
)
|
(((
WORD
)
srcbits
[
2
]
<<
7
)
&
rmask
);
dstbits
=
(
LPWORD
)(
dbits
+=
dstwidthb
);
srcbits
=
(
sbits
+=
srcwidthb
);
}
...
...
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