gdi32/tests: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-11-06 21:21:09 +01:00 committed by Alexandre Julliard
parent adee328a50
commit 259cb3c8cd
2 changed files with 3 additions and 2 deletions

View File

@ -513,7 +513,7 @@ static void test_isotropic_mapping(void)
static void test_setvirtualresolution(void) static void test_setvirtualresolution(void)
{ {
HDC hdc = CreateICA("DISPLAY", NULL, NULL, NULL); HDC hdc = CreateICA("DISPLAY", NULL, NULL, NULL);
DWORD r; BOOL r;
INT horz_res = GetDeviceCaps(hdc, HORZRES); INT horz_res = GetDeviceCaps(hdc, HORZRES);
INT horz_size = GetDeviceCaps(hdc, HORZSIZE); INT horz_size = GetDeviceCaps(hdc, HORZSIZE);
INT log_pixels_x = GetDeviceCaps(hdc, LOGPIXELSX); INT log_pixels_x = GetDeviceCaps(hdc, LOGPIXELSX);

View File

@ -270,7 +270,8 @@ static void test_widenpath(void)
HDC hdc = GetDC(0); HDC hdc = GetDC(0);
HPEN greenPen, narrowPen; HPEN greenPen, narrowPen;
POINT pnt[6]; POINT pnt[6];
INT nSize, ret; INT nSize;
BOOL ret;
/* Create a pen to be used in WidenPath */ /* Create a pen to be used in WidenPath */
greenPen = CreatePen(PS_SOLID, 10, RGB(0,0,0)); greenPen = CreatePen(PS_SOLID, 10, RGB(0,0,0));