Owen Rudge : comctl32/tests: Use defined flags instead of magic numbers in v6 tests.
Module: wine Branch: master Commit: 459361d4d668351d336e8a9f157d447c8fd349b5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=459361d4d668351d336e8a9f15... Author: Owen Rudge <orudge(a)codeweavers.com> Date: Mon Nov 16 13:27:33 2009 -0600 comctl32/tests: Use defined flags instead of magic numbers in v6 tests. --- dlls/comctl32/tests/imagelist.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c index 38a3b48..ef5034c 100644 --- a/dlls/comctl32/tests/imagelist.c +++ b/dlls/comctl32/tests/imagelist.c @@ -1394,7 +1394,7 @@ static void DoTest1_v6(void) int ret = 0; /* create an imagelist to play with */ - himl = ImageList_Create(84,84,0x10,0,3); + himl = ImageList_Create(84, 84, ILC_COLOR16, 0, 3); ok(himl != 0,"failed to create imagelist\n"); imgl = (IImageList *) himl; @@ -1466,7 +1466,7 @@ static void DoTest3_v6(void) ok(hdc!=NULL, "couldn't get DC\n"); /* create an imagelist to play with */ - himl = ImageList_Create(48,48,0x10,0,3); + himl = ImageList_Create(48, 48, ILC_COLOR16, 0, 3); ok(himl!=0,"failed to create imagelist\n"); imgl = (IImageList *) himl;
participants (1)
-
Alexandre Julliard