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
336be2f6
Commit
336be2f6
authored
Mar 04, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Use shorter constants for byte and word masks to avoid warnings.
parent
74b627e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
primitives.c
dlls/gdi32/dibdrv/primitives.c
+5
-5
No files found.
dlls/gdi32/dibdrv/primitives.c
View file @
336be2f6
...
...
@@ -6020,7 +6020,7 @@ static void shrink_row_24(const dib_info *dst_dib, const POINT *dst_start,
else
{
struct
rop_codes
codes
;
BYTE
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
~
0u
:
0u
;
BYTE
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
0xff
:
0
;
BOOL
new_pix
=
TRUE
;
rop_codes_from_stretch_mode
(
mode
,
&
codes
);
...
...
@@ -6070,7 +6070,7 @@ static void shrink_row_16(const dib_info *dst_dib, const POINT *dst_start,
else
{
struct
rop_codes
codes
;
WORD
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
~
0u
:
0u
;
WORD
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
0xffff
:
0
;
BOOL
new_pix
=
TRUE
;
rop_codes_from_stretch_mode
(
mode
,
&
codes
);
...
...
@@ -6118,7 +6118,7 @@ static void shrink_row_8(const dib_info *dst_dib, const POINT *dst_start,
else
{
struct
rop_codes
codes
;
BYTE
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
~
0u
:
0u
;
BYTE
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
0xff
:
0
;
BOOL
new_pix
=
TRUE
;
rop_codes_from_stretch_mode
(
mode
,
&
codes
);
...
...
@@ -6149,7 +6149,7 @@ static void shrink_row_4(const dib_info *dst_dib, const POINT *dst_start,
int
err
=
params
->
err_start
;
int
width
,
dst_x
=
dst_dib
->
rect
.
left
+
dst_start
->
x
,
src_x
=
src_dib
->
rect
.
left
+
src_start
->
x
;
struct
rop_codes
codes
;
BYTE
src_val
,
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
~
0u
:
0u
;
BYTE
src_val
,
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
0xff
:
0
;
BOOL
new_pix
=
TRUE
;
rop_codes_from_stretch_mode
(
mode
,
&
codes
);
...
...
@@ -6189,7 +6189,7 @@ static void shrink_row_1(const dib_info *dst_dib, const POINT *dst_start,
int
err
=
params
->
err_start
;
int
width
,
dst_x
=
dst_dib
->
rect
.
left
+
dst_start
->
x
,
src_x
=
src_dib
->
rect
.
left
+
src_start
->
x
;
struct
rop_codes
codes
;
BYTE
src_val
,
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
~
0u
:
0u
;
BYTE
src_val
,
init_val
=
(
mode
==
STRETCH_ANDSCANS
)
?
0xff
:
0
;
BOOL
new_pix
=
TRUE
;
rop_codes_from_stretch_mode
(
mode
,
&
codes
);
...
...
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