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.
gentoo-overlay/app-admin/whowatch/files/whowatch-1.8.4-select.patch

18 lines
348 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();
+ int key = getkey();
key_action(key);
}
if(tv.tv_sec <= 0) {
ticks++;
- periodic();
+ main_periodic();
tv.tv_sec = TIMEOUT;
}
#endif