user32/tests: Cope with lack of support for color cursors.

oldstable
Alexandre Julliard 2009-02-13 13:10:59 +01:00
parent 96e7da5c55
commit 09761ee96f
1 changed files with 2 additions and 1 deletions

View File

@ -840,7 +840,8 @@ static void test_LoadImage(void)
ok(icon_info.fIcon == FALSE, "fIcon != FALSE.\n");
ok(icon_info.xHotspot == 1, "xHotspot is %u.\n", icon_info.xHotspot);
ok(icon_info.yHotspot == 1, "yHotspot is %u.\n", icon_info.yHotspot);
ok(icon_info.hbmColor != NULL, "No hbmColor!\n");
ok(icon_info.hbmColor != NULL || broken(!icon_info.hbmColor) /* no color cursor support */,
"No hbmColor!\n");
ok(icon_info.hbmMask != NULL, "No hbmMask!\n");
}