Commit 60ca760e authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdiplus/tests: Fix a test failure on XP/W2K3.

parent 17eb0040
...@@ -529,6 +529,7 @@ static void test_GdipCreateBitmapFromHBITMAP(void) ...@@ -529,6 +529,7 @@ static void test_GdipCreateBitmapFromHBITMAP(void)
LogPal = GdipAlloc(sizeof(LOGPALETTE)); LogPal = GdipAlloc(sizeof(LOGPALETTE));
ok(LogPal != NULL, "unable to allocate LOGPALETTE\n"); ok(LogPal != NULL, "unable to allocate LOGPALETTE\n");
LogPal->palVersion = 0x300; LogPal->palVersion = 0x300;
LogPal->palNumEntries = 1;
hpal = CreatePalette(LogPal); hpal = CreatePalette(LogPal);
ok(hpal != NULL, "CreatePalette failed\n"); ok(hpal != NULL, "CreatePalette failed\n");
GdipFree(LogPal); GdipFree(LogPal);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment