aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-15 11:01:42 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-15 11:01:42 +0000
commit156afa81bd0e68d856cb29802426f5cfa7e6e616 (patch)
tree51c77aeb6fa9fa15c8d02b5f14af4d4b604948b2 /action.c
parent6f1e53123f1aaec7f41ec7bc8ccffc499692ae76 (diff)
downloaddzen-156afa81bd0e68d856cb29802426f5cfa7e6e616.tar.gz
dzen-156afa81bd0e68d856cb29802426f5cfa7e6e616.zip
changed Makefile to be aware of the gadgets
added install rule to gadgets' Makefile updated TODO and README git-svn-id: http://dzen.googlecode.com/svn/trunk@123 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.c')
-rw-r--r--action.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/action.c b/action.c
index 74a71a5..a83944f 100644
--- a/action.c
+++ b/action.c
@@ -66,7 +66,8 @@ new_event(long evid) {
head = emalloc(sizeof (ev_list));
head->id = evid;
head->next = NULL;
- } else {
+ }
+ else {
item = head;
/* check if we already handle this event */
while(item) {
@@ -342,7 +343,8 @@ scroll(int n) {
else if(dzen.slave_win.last_line_vis + n > dzen.slave_win.tcnt) {
dzen.slave_win.first_line_vis = dzen.slave_win.tcnt - dzen.slave_win.max_lines;
dzen.slave_win.last_line_vis = dzen.slave_win.tcnt;
- } else {
+ }
+ else {
dzen.slave_win.first_line_vis += n;
dzen.slave_win.last_line_vis += n;
}