gdi32: Also print a readable table name in the failure notice.
authorDmitry Timoshkov <dmitry@codeweavers.com>
Thu, 2 Aug 2007 04:47:57 +0000 (13:47 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 2 Aug 2007 10:18:42 +0000 (12:18 +0200)
dlls/gdi32/freetype.c

index 8615fb7..50e570c 100644 (file)
@@ -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;