Fixed Linux build.

This commit is contained in:
Branimir Karadžić 2015-03-09 16:04:09 -07:00
parent 754083e624
commit 482a940304

View file

@ -5548,7 +5548,7 @@ static bool InputTextFilterCharacter(unsigned int* p_char, ImGuiInputTextFlags f
if (flags & ImGuiInputTextFlags_CharsUppercase)
if (c >= 'a' && c <= 'z')
*p_char = (c += unsigned int('A'-'a'));
*p_char = (c += (unsigned int)('A'-'a'));
if (flags & ImGuiInputTextFlags_CharsNoBlank)
if (ImCharIsSpace(c))