winex11.drv: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-01 23:33:53 +02:00 committed by Alexandre Julliard
parent 8610acde5c
commit ff7fc1fd45
2 changed files with 6 additions and 3 deletions

View File

@ -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;

View File

@ -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);