Giovanni Mascellani : winex11.drv: Do not pollute logs with misencoded bytes.

Alexandre Julliard julliard at winehq.org
Wed Jun 9 16:43:07 CDT 2021


Module: wine
Branch: master
Commit: 2a505efb1ca14f33503657eb070de6edd484b4f3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2a505efb1ca14f33503657eb070de6edd484b4f3

Author: Giovanni Mascellani <gmascellani at codeweavers.com>
Date:   Wed Jun  9 12:56:19 2021 +0200

winex11.drv: Do not pollute logs with misencoded bytes.

Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winex11.drv/keyboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index 5fde07ead31..c6eab6f5cfa 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -1505,7 +1505,7 @@ X11DRV_KEYBOARD_DetectLayout( Display *display )
           char str[5];
           for (i = 0; i < 4; i++) str[i] = ckey[keyc][i] ? ckey[keyc][i] : ' ';
           str[4] = 0;
-          TRACE_(key)("mismatch for keycode %u, got %s\n", keyc, str);
+          TRACE_(key)("mismatch for keycode %u, got %s\n", keyc, debugstr_a(str));
           mismatch++;
           score -= syms;
 	}




More information about the wine-cvs mailing list