diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-04 17:31:51 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-04 17:31:51 +0000 |
commit | 37c05b6b286296c9985a360093b42f3532832c59 (patch) | |
tree | 778e5be3f0d8ad14b66469e4d2d034c7af26f907 /action.c | |
parent | 00e51dd4415467fc2b74006f94b40cbb798d99f5 (diff) | |
download | dzen-37c05b6b286296c9985a360093b42f3532832c59.tar.gz dzen-37c05b6b286296c9985a360093b42f3532832c59.zip |
changed option handling for -p to strtoul
fixed off by one in scroll
git-svn-id: http://dzen.googlecode.com/svn/trunk@65 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -233,7 +233,7 @@ int static int scroll(int n) { - if(dzen.slave_win.last_line_vis < dzen.slave_win.max_lines) + if(dzen.slave_win.last_line_vis <= dzen.slave_win.max_lines) return; if(dzen.slave_win.first_line_vis + n < 0) { dzen.slave_win.first_line_vis = 0; |