mirror of https://github.com/stella-emu/stella.git
fix the fix
This commit is contained in:
parent
1b5ac9d3b5
commit
b3e582209f
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue