aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-03 13:12:01 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-03 13:12:01 +0000
commit618d3a6af7b2123b48488c2d9b6bd2719ce40f6d (patch)
treee57e110bf0f47f969bebecfc912fcd25b5f5f613 /main.c
parent3448ab0ca216d12f51476a28df2286e3f7d83d40 (diff)
downloaddzen-618d3a6af7b2123b48488c2d9b6bd2719ce40f6d.tar.gz
dzen-618d3a6af7b2123b48488c2d9b6bd2719ce40f6d.zip
"else if" must be "if" in event_loop
git-svn-id: http://dzen.googlecode.com/svn/trunk@52 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-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));