From 8c1b4527fd68a77f3946a1f46db290114d88a0ca Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 14 Oct 2016 17:50:12 +0200 Subject: [PATCH] Utility/Events: Fix TextEntered event with tabs on Linux --- src/Nazara/Utility/X11/WindowImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Nazara/Utility/X11/WindowImpl.cpp b/src/Nazara/Utility/X11/WindowImpl.cpp index b64fae1e0..72b85912a 100644 --- a/src/Nazara/Utility/X11/WindowImpl.cpp +++ b/src/Nazara/Utility/X11/WindowImpl.cpp @@ -1081,7 +1081,8 @@ namespace Nz return ' '; case XK_BackSpace: return '\b'; - case XK_KP_Tab || XK_Tab: + case XK_Tab: + case XK_KP_Tab: return '\t'; case XK_Linefeed: return '\n';