Avoid some VC++ compiler warnings

This commit is contained in:
Alex Szpakowski
2015-04-02 00:28:09 -03:00
parent 2a6bffaa5a
commit cf0968fc6d
13 changed files with 25 additions and 26 deletions
+2 -2
View File
@@ -137,12 +137,12 @@ void Keyboard::setTextInput(bool enable, double x, double y, double w, double h)
bool Keyboard::hasTextInput() const
{
return SDL_IsTextInputActive();
return SDL_IsTextInputActive() != SDL_FALSE;
}
bool Keyboard::hasScreenKeyboard() const
{
return SDL_HasScreenKeyboardSupport();
return SDL_HasScreenKeyboardSupport() != SDL_FALSE;
}
bool Keyboard::getConstant(Scancode in, SDL_Scancode &out)