Skip to content
Permalink
Browse files

Fix shift key producing space in console (#5777)

* Fix shift key producing space in console
  • Loading branch information...
davisonio authored and nerzhul committed May 20, 2017
1 parent 00972d4 commit 605599b6f150b89ba6539c4d088231b326adcb48
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/guiChatConsole.cpp
@@ -628,7 +628,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
prompt.nickCompletion(names, backwards);
return true;
}
else if(event.KeyInput.Char != 0 && !event.KeyInput.Control)
else if(isprint(event.KeyInput.Char) && !event.KeyInput.Control)
{
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
wchar_t wc = L'_';

0 comments on commit 605599b

Please sign in to comment.
You can’t perform that action at this time.