winex11.drv: Print the characters returned by ToUnicode.

oldstable
Dmitry Timoshkov 2008-10-27 18:22:43 +08:00 committed by Alexandre Julliard
parent 8301325989
commit 0d2bc3fa35
1 changed files with 1 additions and 2 deletions

View File

@ -2703,8 +2703,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
found:
if (buf != lpChar)
HeapFree(GetProcessHeap(), 0, lpChar);
TRACE_(key)("ToUnicode about to return %d with char %x %s\n",
ret, (ret && bufW) ? bufW[0] : 0, bufW ? "" : "(no buffer)");
TRACE_(key)("returning %d with %s\n", ret, debugstr_wn(bufW, ret));
return ret;
}