diff options
author | hut <hut@lavabit.com> | 2010-01-01 22:09:54 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-01 22:09:54 +0100 |
commit | c0602b62bb3e097172e19f78a7429b8205acd799 (patch) | |
tree | 652d40614fc13a0e6409683453f8623a3d98e734 /ranger | |
parent | 75c3e884715b69e7771086a873606c1fafad7d0c (diff) | |
download | ranger-c0602b62bb3e097172e19f78a7429b8205acd799.tar.gz |
pager: fixed scrolling range
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/pager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py index 2d77a2d0..045fc345 100644 --- a/ranger/gui/widgets/pager.py +++ b/ranger/gui/widgets/pager.py @@ -71,11 +71,11 @@ class Pager(Widget): i += relative i = int(i) - length = len(self.lines) - self.hei - 1 + length = len(self.lines) - self.hei if i >= length: self._get_line(i+self.hei) - length = len(self.lines) - self.hei - 1 + length = len(self.lines) - self.hei if i >= length: i = length |