[PATCH 1/5] dwrite: Fix font table tag tracing

Nikolay Sivov nsivov at codeweavers.com
Mon Aug 10 05:49:13 CDT 2015


---

-------------- next part --------------
>From 4f9567137ceb0552a5a4b86e2bfb0e0238722acf Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu, 6 Aug 2015 22:42:17 +0300
Subject: [PATCH 1/5] dwrite: Fix font table tag tracing

---
 dlls/dwrite/font.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 93aae86..6036720 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -211,7 +211,7 @@ static inline struct dwrite_colorglyphenum *impl_from_IDWriteColorGlyphRunEnumer
 
 static inline const char *debugstr_tag(UINT32 tag)
 {
-    return wine_dbg_sprintf("%c%c%c%c", tag >> 24, (tag >> 16) & 0xff, (tag >> 8) & 0xff, tag & 0xff);
+    return wine_dbg_sprintf("%c%c%c%c", tag & 0xff, (tag >> 8) & 0xff, (tag >> 16) & 0xff, tag >> 24);
 }
 
 static HRESULT get_cached_glyph_metrics(struct dwrite_fontface *fontface, UINT16 glyph, DWRITE_GLYPH_METRICS *metrics)
-- 
2.1.4



More information about the wine-patches mailing list