[PATCH 2/2] d2d1: Fix a typo in traced error message parameter

Nikolay Sivov nsivov at codeweavers.com
Mon Oct 31 19:34:05 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/d2d1/brush.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d2d1/brush.c b/dlls/d2d1/brush.c
index 4110b48..d51f53f 100644
--- a/dlls/d2d1/brush.c
+++ b/dlls/d2d1/brush.c
@@ -881,7 +881,7 @@ HRESULT d2d_brush_get_ps_cb(struct d2d_brush *brush, struct d2d_brush *opacity_b
     {
         if (opacity_brush->type >= sizeof(brush_sizes) / sizeof(*brush_sizes))
         {
-            ERR("Unhandled opacity brush type %#x.\n", brush->type);
+            ERR("Unhandled opacity brush type %#x.\n", opacity_brush->type);
             return E_NOTIMPL;
         }
         buffer_desc.ByteWidth += brush_sizes[opacity_brush->type];
-- 
2.10.1




More information about the wine-patches mailing list