comctl32/tests: comctl32.dll is already loaded.

This commit is contained in:
Michael Stefaniuc 2013-09-30 23:40:14 +02:00 committed by Alexandre Julliard
parent 4e9646a7f7
commit 37caf788b5
1 changed files with 2 additions and 1 deletions

View File

@ -578,7 +578,8 @@ static void test_layout(void)
check_sizes();
/* an image will increase the band height */
himl = ImageList_LoadImage(LoadLibrary("comctl32"), MAKEINTRESOURCE(121), 24, 2, CLR_NONE, IMAGE_BITMAP, LR_DEFAULTCOLOR);
himl = ImageList_LoadImageA(GetModuleHandleA("comctl32"), MAKEINTRESOURCEA(121), 24, 2,
CLR_NONE, IMAGE_BITMAP, LR_DEFAULTCOLOR);
ri.cbSize = sizeof(ri);
ri.fMask = RBIM_IMAGELIST;
ri.himl = himl;