aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-04 17:31:51 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-04 17:31:51 +0000
commit37c05b6b286296c9985a360093b42f3532832c59 (patch)
tree778e5be3f0d8ad14b66469e4d2d034c7af26f907 /action.c
parent00e51dd4415467fc2b74006f94b40cbb798d99f5 (diff)
downloaddzen-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index 9ef85a1..60bb244 100644
--- a/action.c
+++ b/action.c
@@ -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;