summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slstatus.c b/slstatus.c
index aa05cd1..228c19b 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -914,11 +914,11 @@ main(int argc, char *argv[])
XSync(dpy, False);
}
- if ((UPDATE_INTERVAL - delay) <= 0) {
+ if ((update_interval - delay) <= 0) {
delay = 0;
continue;
} else {
- sleep(UPDATE_INTERVAL - delay);
+ sleep(update_interval - delay);
delay = 0;
}
}