Fixed timeout behaviour

This commit is contained in:
Alexander S. Aganichev 2002-05-03 12:45:47 +00:00
parent d3e3e9190e
commit 5f50b3afca
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,10 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/ Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________ ______________________________________________________________________
- GoldED+ should no longer exit when system time is changed to the
past and Timeout is non-zero. But... Timeout still calculated from
timestamp of previous keypress.
! Some actions will not reload message if it is not required. ! Some actions will not reload message if it is not required.
+ Added possibility to specify AKA in AREASEP: + Added possibility to specify AKA in AREASEP:

View File

@ -527,7 +527,7 @@ void CheckTick(gkey quitkey) {
Clock idle_secs = (gkbd.tickvalue - gkbd.tickpress) / 10L; Clock idle_secs = (gkbd.tickvalue - gkbd.tickpress) / 10L;
if(CFG->timeout) { if(CFG->timeout) {
if(idle_secs >= CFG->timeout) { if(((signed long)idle_secs > 0) and (idle_secs >= CFG->timeout)) {
kbput(quitkey); kbput(quitkey);
return; return;
} }