From: Michael D. Lowis Date: Sun, 3 Aug 2014 04:08:58 +0000 (-0400) Subject: Should use escape define X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=c14accb7257a70083e335e1327d797d2550b608b;p=archive%2Fafm.git Should use escape define --- diff --git a/source/input.c b/source/input.c index 59547a8..2f300cc 100644 --- a/source/input.c +++ b/source/input.c @@ -116,7 +116,7 @@ void input_handle_key(char ch) { } /* Escape key puts us back into normal mode */ - if (ch == 27u) + if (ch == ESC) { Key_Buffer[0] = '\0'; state_set_mode(MODE_NORMAL);