fix the fix

This commit is contained in:
thrust26 2018-01-20 21:27:05 +01:00
parent 1b5ac9d3b5
commit b3e582209f
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ void EventHandler::handleKeyEvent(StellaKey key, StellaMod mod, bool state)
if(!(StellaModTest::isControl(mod) || StellaModTest::isShift(mod) || StellaModTest::isAlt(mod))) if(!(StellaModTest::isControl(mod) || StellaModTest::isShift(mod) || StellaModTest::isAlt(mod)))
{ {
// special handling for Escape key // special handling for Escape key
if(KBDK_ESCAPE) if(key == KBDK_ESCAPE)
{ {
if(state) if(state)
{ {