[PATCH 5/7] windowscodecs/tests: Use the W version of GetObject().
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 1 16:22:27 CDT 2013
---
dlls/windowscodecs/tests/bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/tests/bitmap.c b/dlls/windowscodecs/tests/bitmap.c
index 3c79ce8..8de990a 100644
--- a/dlls/windowscodecs/tests/bitmap.c
+++ b/dlls/windowscodecs/tests/bitmap.c
@@ -152,7 +152,7 @@ static HBITMAP create_dib(int width, int height, int bpp, LOGPALETTE *pal, const
hdib = CreateDIBSection(0, bmi, DIB_RGB_COLORS, &bits, NULL, 0);
ok(hdib != 0, "CreateDIBSection(%dx%d,%d bpp) failed\n", width, height, bpp);
- GetObject(hdib, sizeof(bm), &bm);
+ GetObjectW(hdib, sizeof(bm), &bm);
ok(bm.bmWidth == width, "expected %d, got %d\n", width, bm.bmWidth);
ok(bm.bmHeight == height, "expected %d, got %d\n", height, bm.bmHeight);
ok(bm.bmPlanes == 1, "expected 1, got %d\n", bm.bmPlanes);
--
1.8.3.1
More information about the wine-patches
mailing list