Michael Stefaniuc : windowscodecs/tests: Use the W version of GetObject().
Module: wine Branch: master Commit: 2720e815041dcf389381c2c16d17510cfc80ff1b URL: http://source.winehq.org/git/wine.git/?a=commit;h=2720e815041dcf389381c2c16d... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Tue Oct 1 23:22:27 2013 +0200 windowscodecs/tests: Use the W version of GetObject(). --- dlls/windowscodecs/tests/bitmap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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);
participants (1)
-
Alexandre Julliard