Module: wine Branch: master Commit: 09761ee96fcffe918524d57a181f808a484fcabb URL: http://source.winehq.org/git/wine.git/?a=commit;h=09761ee96fcffe918524d57a18...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Feb 13 13:10:59 2009 +0100
user32/tests: Cope with lack of support for color cursors.
---
dlls/user32/tests/cursoricon.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c index fc1ceaa..d67de48 100644 --- a/dlls/user32/tests/cursoricon.c +++ b/dlls/user32/tests/cursoricon.c @@ -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"); }