From 3381321d9272dc442edd11de4383c7ab9a180b9c Mon Sep 17 00:00:00 2001 From: cnlohr Date: Thu, 3 Oct 2024 17:21:36 -0700 Subject: [PATCH] Remove spare 27 - if someone figures out why this is needed, please tell me. --- rawdraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rawdraw.c b/rawdraw.c index c952951..9b3ee94 100644 --- a/rawdraw.c +++ b/rawdraw.c @@ -21,7 +21,7 @@ void HandleKey( int keycode, int bDown ) printf( "Key: %d -> %d\n", keycode, bDown ); printf( "Scancode: %d -> %d\n", CNFGLastScancode, bDown ); printf( "Char: %c\n", CNFGLastCharacter ); - if( keycode == 27 || keycode == CNFG_KEY_ESCAPE ) exit( 0 ); + if( keycode == CNFG_KEY_ESCAPE ) exit( 0 ); } void HandleButton( int x, int y, int button, int bDown )