parent
60baf8120c
commit
a2bb776ea8
|
@ -627,9 +627,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
|
||||||
bool backwards = event.KeyInput.Shift;
|
bool backwards = event.KeyInput.Shift;
|
||||||
prompt.nickCompletion(names, backwards);
|
prompt.nickCompletion(names, backwards);
|
||||||
return true;
|
return true;
|
||||||
}
|
} else if (iswprint(event.KeyInput.Char) && !event.KeyInput.Control) {
|
||||||
else if(isprint(event.KeyInput.Char) && !event.KeyInput.Control)
|
|
||||||
{
|
|
||||||
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
|
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
|
||||||
wchar_t wc = L'_';
|
wchar_t wc = L'_';
|
||||||
mbtowc( &wc, (char *) &event.KeyInput.Char, sizeof(event.KeyInput.Char) );
|
mbtowc( &wc, (char *) &event.KeyInput.Char, sizeof(event.KeyInput.Char) );
|
||||||
|
|
Loading…
Reference in New Issue