Fixed GCC warning.

This commit is contained in:
Branimir Karadzic 2014-08-06 09:47:12 -07:00
parent f492d7d113
commit c94e5122d6

View file

@ -611,10 +611,7 @@ struct Imgui
m_left = left;
m_scroll = _scroll;
if (_inputChar > 0x80)
{
_inputChar = 0;
}
_inputChar = 0 > _inputChar ? 0 : _inputChar;
m_lastChar = m_char;
m_char = _inputChar;
}