gdi32/tests: Use BOOL type where appropriate.
This commit is contained in:
parent
adee328a50
commit
259cb3c8cd
|
@ -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);
|
||||||
|
|
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue