You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
344 B
18 lines
344 B
--- a/src/whowatch.c
|
|
+++ b/src/whowatch.c
|
|
@@ -436,12 +436,12 @@
|
|
gettimeofday(&after, 0);
|
|
tv.tv_sec -= (after.tv_sec - before.tv_sec);
|
|
if(retval > 0) {
|
|
- int key = read_key();
|
|
+ key = getkey();
|
|
key_action(key);
|
|
}
|
|
if(tv.tv_sec <= 0) {
|
|
ticks++;
|
|
- periodic();
|
|
+ main_periodic();
|
|
tv.tv_sec = TIMEOUT;
|
|
}
|
|
#endif
|