Vincent Povirk : gdiplus: Add traces for values of newly-created pens.

Alexandre Julliard julliard at winehq.org
Mon Dec 28 09:16:02 CST 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Fri Dec 18 15:24:51 2009 -0600

gdiplus: Add traces for values of newly-created pens.

---

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

diff --git a/dlls/gdiplus/pen.c b/dlls/gdiplus/pen.c
index 4a68a27..6299d67 100644
--- a/dlls/gdiplus/pen.c
+++ b/dlls/gdiplus/pen.c
@@ -101,6 +101,8 @@ GpStatus WINGDIPAPI GdipClonePen(GpPen *pen, GpPen **clonepen)
     GdipCloneCustomLineCap(pen->customend, &(*clonepen)->customend);
     GdipCloneBrush(pen->brush, &(*clonepen)->brush);
 
+    TRACE("<-- %p\n", *clonepen);
+
     return Ok;
 }
 
@@ -154,6 +156,8 @@ GpStatus WINGDIPAPI GdipCreatePen2(GpBrush *brush, REAL width, GpUnit unit,
 
     *pen = gp_pen;
 
+    TRACE("<-- %p\n", *pen);
+
     return Ok;
 }
 




More information about the wine-cvs mailing list