Silence warning from clang.

This commit is contained in:
Stephen Anthony 2019-05-24 18:15:32 -02:30
parent d3662ee9c8
commit a2a3844d3d
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ bool PhysicalKeyboardHandler::addMapping(Event::Type event, EventMode mode,
StellaKey key)
{
// These keys cannot be remapped
if(key == KBDK_TAB && mode == EventMode::kMenuMode || Event::isAnalog(event))
if((key == KBDK_TAB && mode == EventMode::kMenuMode) || Event::isAnalog(event))
return false;
else
myKeyTable[key][mode] = event;