[PATCH 4/4] Fix a test failure on XP/W2K3

Paul Vriens Paul.Vriens.Wine at gmail.com
Thu Dec 17 04:08:13 CST 2009


---
 dlls/gdiplus/tests/image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c
index 486a679..ebdd3f9 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);
-- 
1.6.2.5


--------------040102080803040304020804--



More information about the wine-patches mailing list