mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Avoid some VC++ compiler warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user