comctl32/tests: Avoid preprocessor checks to ensure it compiles.

This commit is contained in:
André Hentschel 2014-01-22 22:32:17 +01:00 committed by Alexandre Julliard
parent 0d688c7d52
commit e32237d34a
2 changed files with 6 additions and 4 deletions

View File

@ -809,7 +809,8 @@ static ULONG check_bitmap_data(const char *bm_data, ULONG bm_data_size,
image_size = DIB_GetWidthBytes(bmih->biWidth, bmih->biBitCount) * bmih->biHeight;
ok(bmih->biSizeImage == image_size, "wrong biSizeImage %u\n", bmih->biSizeImage);
#if 0
if (0)
{
char fname[256];
FILE *f;
@ -818,7 +819,7 @@ static ULONG check_bitmap_data(const char *bm_data, ULONG bm_data_size,
fwrite(bm_data, 1, bm_data_size, f);
fclose(f);
}
#endif
return hdr_size + image_size;
}

View File

@ -1082,7 +1082,8 @@ static void test_hittest(void)
expect(mchit.uHit, res);
expect_hex(MCHT_CALENDARDATEPREV, res);
#if 0
if (0)
{
/* (125, 115) is in active area - date from this month */
mchit.pt.x = 125;
mchit.pt.y = 115;
@ -1091,7 +1092,7 @@ static void test_hittest(void)
expect(115, mchit.pt.y);
expect(mchit.uHit, res);
expect(MCHT_CALENDARDATE, res);
#endif
}
/* in active area - date from next month */
mchit.pt.x = 11 * r.right / 14;