Nikolay Sivov : dwrite: Fix font table tag tracing.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 12 09:17:54 CDT 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Aug 10 13:49:13 2015 +0300

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)




More information about the wine-cvs mailing list