mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Silence compiler warnings in isModifierActive.
This commit is contained in:
@@ -99,6 +99,8 @@ bool Keyboard::isModifierActive(ModifierKey key) const
|
||||
return (modstate & KMOD_SCROLL) != 0;
|
||||
case MODKEY_MODE:
|
||||
return (modstate & KMOD_MODE) != 0;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user