Fix logterminal TERMMODE_UNICODE checking.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-08-18 17:48:46 +02:00
parent 6725972e11
commit 40c2fd12dc
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ void LogTerminal::QueueUnicode(uint32_t unicode)
int abskbkey = (kbkey < 0) ? -kbkey : kbkey;
bool wasenter = kbkey == KBKEY_ENTER || unicode == '\n';
bool kbkeymode = termmode & TERMMODE_KBKEY;
bool unicodemode = termmode && TERMMODE_UNICODE;
bool unicodemode = termmode & TERMMODE_UNICODE;
bool linemode = termmode & TERMMODE_LINEBUFFER;
bool echomode = termmode & TERMMODE_ECHO;