aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 22:21:31 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 22:21:31 +0000
commita0528bc8a7bb582c280d8a86036e73f5808574ad (patch)
tree15e2a3526ee278b22db7db585f8d80d0ab6f2c36 /main.c
parentce70dda776eda1bc3405d606fcb8e72e95c0bab8 (diff)
downloaddzen-a0528bc8a7bb582c280d8a86036e73f5808574ad.tar.gz
dzen-a0528bc8a7bb582c280d8a86036e73f5808574ad.zip
fixed scrollhome
git-svn-id: http://dzen.googlecode.com/svn/trunk@91 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 5986a3c..ff1b775 100644
--- a/main.c
+++ b/main.c
@@ -486,7 +486,7 @@ handle_newl(void) {
x_draw_body();
}
/* forget state if window was unmapped */
- if(wa.map_state == IsUnmapped || !dzen.slave_win.last_line_vis) {
+ else if(wa.map_state == IsUnmapped || !dzen.slave_win.last_line_vis) {
dzen.slave_win.first_line_vis = 0;
dzen.slave_win.last_line_vis = 0;
}