From 645057d81aa619f4f9704cd221e63b357ac7f749 Mon Sep 17 00:00:00 2001 From: Hisham Date: Thu, 19 May 2016 16:09:47 -0300 Subject: [PATCH] Use set_escdelay() to avoid problems with ESCDELAY as a macro. --- InfoScreen.c | 2 +- ScreenManager.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InfoScreen.c b/InfoScreen.c index a6dd55a..085b860 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -116,7 +116,7 @@ void InfoScreen_run(InfoScreen* this) { if (this->inc->active) move(LINES-1, CRT_cursorX); - ESCDELAY = 25; + set_escdelay(25); int ch = getch(); if (ch == ERR) { diff --git a/ScreenManager.c b/ScreenManager.c index db3fdee..44e74e0 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -189,7 +189,7 @@ void ScreenManager_run(ScreenManager* this, Panel** lastFocus, int* lastKey) { } int prevCh = ch; - ESCDELAY = 25; + set_escdelay(25); ch = getch(); HandlerResult result = IGNORED;