[8/19] gdiplus: make GdipGetMetafileHeaderFromMetafile return Ok

Evan Stade estade at gmail.com
Tue Aug 7 20:42:24 CDT 2007


Hi,

this fixes a bug where PPTViewer properly displays WMFs only every
other time you look at the slide (on even views, it would only show an
empty box).

changelog:
*return Ok instead of NotImplemented for GdipGetMetafileHeaderFromMetafile

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

-- 
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index bd0fbab..85cfc07 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -508,7 +508,7 @@ GpStatus WINGDIPAPI GdipGetMetafileHeade
     if(!(calls++))
         FIXME("not implemented\n");
 
-    return NotImplemented;
+    return Ok;
 }
 
 GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage *image, PROPID pid,
-- 
1.4.1


More information about the wine-patches mailing list