Skip to content

Commit

Permalink
Remove spare 27 - if someone figures out why this is needed, please t…
Browse files Browse the repository at this point in the history
…ell me.
  • Loading branch information
cnlohr committed Oct 4, 2024
1 parent a33dea9 commit 3381321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rawdraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 3381321

Please sign in to comment.