[17/17] gdiplus: Make GdipSetPropertyItem return Ok.

Dmitry Timoshkov dmitry at baikal.ru
Wed Aug 8 23:02:47 CDT 2012


This patch makes an application which actually checks return value of this
API work, and a simple test shows that even properties like date/time and
copyright string set with GdipSetPropertyItem get ignored on actual TIFF
image saving.
---
 dlls/gdiplus/image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 64ce8b6..1ee5cbc 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -3459,7 +3459,7 @@ GpStatus WINGDIPAPI GdipSetPropertyItem(GpImage *image, GDIPCONST PropertyItem*
     if(!(calls++))
         FIXME("not implemented\n");
 
-    return NotImplemented;
+    return Ok;
 }
 
 GpStatus WINGDIPAPI GdipSaveImageToFile(GpImage *image, GDIPCONST WCHAR* filename,
-- 
1.7.11.4




More information about the wine-patches mailing list