Dan Kegel : gdiplus: Make GdipTranslateLineTransform stub lie and return Ok .

Alexandre Julliard julliard at winehq.org
Thu Feb 16 13:10:45 CST 2012


Module: wine
Branch: master
Commit: 8f073bf4c7f59a7c0164d46dc91386409d6bdc7b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8f073bf4c7f59a7c0164d46dc91386409d6bdc7b

Author: Dan Kegel <dank at kegel.com>
Date:   Sat Feb 11 15:29:56 2012 -0800

gdiplus: Make GdipTranslateLineTransform stub lie and return Ok.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index d1af903..ee1fd39 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -2017,9 +2017,14 @@ GpStatus WINGDIPAPI GdipMultiplyLineTransform(GpLineGradient *brush,
 GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient* brush,
         REAL dx, REAL dy, GpMatrixOrder order)
 {
-    FIXME("stub: %p %f %f %d\n", brush, dx, dy, order);
+    static int calls;
 
-    return NotImplemented;
+    TRACE("(%p,%f,%f,%d)\n", brush, dx, dy, order);
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return Ok;
 }
 
 /******************************************************************************




More information about the wine-cvs mailing list