gdi32: Use BOOL type where appropriate.

oldstable
Frédéric Delanoy 2013-10-11 22:43:00 +02:00 committed by Alexandre Julliard
parent 18556fd521
commit 28be1f7853
2 changed files with 3 additions and 3 deletions

View File

@ -98,13 +98,13 @@ static const int nb_formats = sizeof(pixel_formats) / sizeof(pixel_formats[0]);
static BOOL init_opengl(void)
{
static int init_done;
static BOOL init_done = FALSE;
static void *osmesa_handle;
char buffer[200];
unsigned int i;
if (init_done) return (osmesa_handle != NULL);
init_done = 1;
init_done = TRUE;
osmesa_handle = wine_dlopen( SONAME_LIBOSMESA, RTLD_NOW, buffer, sizeof(buffer) );
if (osmesa_handle == NULL)

View File

@ -2664,7 +2664,7 @@ HRGN WINAPI CreatePolyPolygonRgn(const POINT *Pts, const INT *Count,
struct list AET; /* header for AET */
EdgeTableEntry *pETEs; /* EdgeTableEntries pool */
ScanLineListBlock SLLBlock; /* header for scanlinelist */
int fixWAET = FALSE;
BOOL fixWAET = FALSE;
struct point_block FirstPtBlock, *block; /* PtBlock buffers */
struct edge_table_entry *active, *next;
INT poly, total;