gdi32: Also print a readable table name in the failure notice
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Aug 1 23:47:57 CDT 2007
Hello,
Changelog:
gdi32: Also print a readable table name in the failure notice.
---
dlls/gdi32/freetype.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 8615fb7..50e570c 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -4435,7 +4435,10 @@ DWORD WineEngGetFontData(GdiFont *font, DWORD table, DWORD offset, LPVOID buf,
}
#endif
if(err) {
- TRACE("Can't find table %08x.\n", table);
+ TRACE("Can't find table %c%c%c%c\n",
+ /* bytes were reversed */
+ HIBYTE(HIWORD(table)), LOBYTE(HIWORD(table)),
+ HIBYTE(LOWORD(table)), LOBYTE(LOWORD(table)));
return GDI_ERROR;
}
return len;
--
1.5.2.3
More information about the wine-patches
mailing list