winex11.drv: Print the characters returned by ToUnicode.
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Oct 27 05:22:43 CDT 2008
---
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;
}
--
1.6.0.3
More information about the wine-patches
mailing list