Dmitry Timoshkov : winex11.drv: Print the characters returned by ToUnicode.
Module: wine Branch: master Commit: 0d2bc3fa3502ce490354be21b2cbea510cf2e3ae URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d2bc3fa3502ce490354be21b2... Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Mon Oct 27 18:22:43 2008 +0800 winex11.drv: Print the characters returned by ToUnicode. --- dlls/winex11.drv/keyboard.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index 6343b10..5c501eb 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -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; }
participants (1)
-
Alexandre Julliard