diff options
author | Hisham <hisham@gobolinux.org> | 2016-05-19 16:09:47 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-05-19 16:09:47 -0300 |
commit | 645057d81aa619f4f9704cd221e63b357ac7f749 (patch) | |
tree | fbfee520f4b0cde9b87e2689c48b2ca16e76897f | |
parent | 6c1be632919baeef12143ad762b0fc0f7398f8b0 (diff) |
Use set_escdelay() to avoid problems with ESCDELAY as a macro.
-rw-r--r-- | InfoScreen.c | 2 | ||||
-rw-r--r-- | ScreenManager.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/InfoScreen.c b/InfoScreen.c index a6dd55ad..085b860f 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 db3fdee4..44e74e05 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; |