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

This commit is contained in:
Paul Vriens 2009-12-17 11:08:13 +01:00 committed by Alexandre Julliard
parent 17eb00409c
commit 60ca760edd
1 changed files with 1 additions and 0 deletions

View File

@ -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);