mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Irrlicht 1.9 support
This commit is contained in:
parent
b16252dcae
commit
084cdea686
6 changed files with 20 additions and 2 deletions
|
@ -630,7 +630,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
|
|||
}
|
||||
else if(event.KeyInput.Char != 0 && !event.KeyInput.Control)
|
||||
{
|
||||
#if (defined(__linux__))
|
||||
#if defined(__linux__) && (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR < 9)
|
||||
wchar_t wc = L'_';
|
||||
mbtowc( &wc, (char *) &event.KeyInput.Char, sizeof(event.KeyInput.Char) );
|
||||
prompt.input(wc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue