Module: wine Branch: master Commit: 4afc54540d7ed3db2d7fd931345e841d6d2a1036 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4afc54540d7ed3db2d7fd93134...
Author: Nikolay Sivov bunglehead@gmail.com Date: Sun Nov 15 07:58:05 2009 +0300
comctl32/imagelist: Use defined flags instead of magic numbers in tests.
---
dlls/comctl32/tests/imagelist.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c index 942590e..a931e9c 100644 --- a/dlls/comctl32/tests/imagelist.c +++ b/dlls/comctl32/tests/imagelist.c @@ -336,7 +336,7 @@ static BOOL DoTest1(void) HICON hicon3 ;
/* 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");
/* load the icons to add to the image list */ @@ -402,7 +402,7 @@ static BOOL DoTest2(void) HICON hicon3 ;
/* 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");
/* load the icons to add to the image list */ @@ -451,7 +451,7 @@ static BOOL DoTest3(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");
/* load the icons to add to the image list */