From 60ca760eddf560908eeeff157a226de69c8bef9d Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 17 Dec 2009 11:08:13 +0100 Subject: [PATCH] gdiplus/tests: Fix a test failure on XP/W2K3. --- dlls/gdiplus/tests/image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 486a6795e52..ebdd3f9fe77 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -529,6 +529,7 @@ static void test_GdipCreateBitmapFromHBITMAP(void) LogPal = GdipAlloc(sizeof(LOGPALETTE)); ok(LogPal != NULL, "unable to allocate LOGPALETTE\n"); LogPal->palVersion = 0x300; + LogPal->palNumEntries = 1; hpal = CreatePalette(LogPal); ok(hpal != NULL, "CreatePalette failed\n"); GdipFree(LogPal);