gdi32: Also print a readable table name in the failure notice.

This commit is contained in:
Dmitry Timoshkov 2007-08-02 13:47:57 +09:00 committed by Alexandre Julliard
parent f0dbfe959f
commit 2f71832ac9
1 changed files with 4 additions and 1 deletions

View 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;