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
ff7fc1fd
Commit
ff7fc1fd
authored
Oct 01, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Use BOOL type where appropriate.
parent
8610acde
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
mouse.c
dlls/winex11.drv/mouse.c
+4
-2
window.c
dlls/winex11.drv/window.c
+2
-1
No files found.
dlls/winex11.drv/mouse.c
View file @
ff7fc1fd
...
...
@@ -623,7 +623,8 @@ static XcursorImage *create_xcursor_frame( HDC hdc, const ICONINFOEXW *iinfo, HA
{
XcursorImage
*
image
,
*
ret
=
NULL
;
DWORD
delay_jiffies
,
num_steps
;
int
x
,
y
,
i
,
has_alpha
=
FALSE
;
int
x
,
y
,
i
;
BOOL
has_alpha
=
FALSE
;
XcursorPixel
*
ptr
;
image
=
pXcursorImageCreate
(
width
,
height
);
...
...
@@ -1137,7 +1138,8 @@ static Cursor create_xlib_color_cursor( HDC hdc, const ICONINFOEXW *icon, int wi
struct
gdi_image_bits
bits
;
unsigned
int
*
color_bits
=
NULL
,
*
ptr
;
unsigned
char
*
mask_bits
=
NULL
,
*
xor_bits
=
NULL
;
int
i
,
x
,
y
,
has_alpha
=
0
;
int
i
,
x
,
y
;
BOOL
has_alpha
=
FALSE
;
int
rfg
,
gfg
,
bfg
,
rbg
,
gbg
,
bbg
,
fgBits
,
bgBits
;
unsigned
int
width_bytes
=
(
width
+
31
)
/
32
*
4
;
...
...
dlls/winex11.drv/window.c
View file @
ff7fc1fd
...
...
@@ -472,7 +472,8 @@ static unsigned long *get_bitmap_argb( HDC hdc, HBITMAP color, HBITMAP mask, uns
BITMAP
bm
;
unsigned
int
*
ptr
,
*
bits
=
NULL
;
unsigned
char
*
mask_bits
=
NULL
;
int
i
,
j
,
has_alpha
=
0
;
int
i
,
j
;
BOOL
has_alpha
=
FALSE
;
if
(
!
GetObjectW
(
color
,
sizeof
(
bm
),
&
bm
))
return
NULL
;
info
->
bmiHeader
.
biSize
=
sizeof
(
BITMAPINFOHEADER
);
...
...
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