Module: wine Branch: master Commit: a069ee48d529505afc92db6b73f87de82fbc5be1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a069ee48d529505afc92db6b73...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Feb 16 11:51:44 2009 +0100
user32/tests: Another fix for lack of color cursor support.
---
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 d67de48..9475534 100644 --- a/dlls/user32/tests/cursoricon.c +++ b/dlls/user32/tests/cursoricon.c @@ -911,7 +911,8 @@ static void test_CreateIconFromResource(void) ok(icon_info.fIcon == FALSE, "fIcon != FALSE.\n"); ok(icon_info.xHotspot == 3, "xHotspot is %u.\n", icon_info.xHotspot); ok(icon_info.yHotspot == 3, "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"); }