aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 05ca055..3bebca8 100644
--- a/main.c
+++ b/main.c
@@ -433,7 +433,7 @@ event_loop(void *ptr) {
return;
handle_newl();
}
- else if(dr == -2 && dzen.timeout > 0) {
+ if(dr == -2 && dzen.timeout > 0) {
// Set an alarm to kill us after the timeout
struct itimerval value;
memset(&value, 0, sizeof(value));