diff options
author | hut <hut@lavabit.com> | 2010-12-22 01:24:34 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-12-22 01:24:34 +0100 |
commit | b732a872fd02d1525f54c7631334d3ba2a0d51a1 (patch) | |
tree | 82acca6c299549f4137555f41f8ae324675497e5 /ranger | |
parent | d3124d6b67514e48107cc6c0dd0a92d5a33ace8b (diff) | |
download | ranger-b732a872fd02d1525f54c7631334d3ba2a0d51a1.tar.gz |
gui.bar: Fixed malpositioning of tab in some cases
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/bar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/bar.py b/ranger/gui/bar.py index 41cc8133..aa5c9ab4 100644 --- a/ranger/gui/bar.py +++ b/ranger/gui/bar.py @@ -67,7 +67,7 @@ class Bar(object): raise ValueError("Cannot shrink down to that size by cutting") leftsize = self.left.sumsize() rightsize = self.right.sumsize() - oversize = leftsize + rightsize - wid + oversize = leftsize + rightsize - wid - 1 if oversize <= 0: return self.fill_gap(' ', wid, gapwidth=False) nonfixed_items = self.left.nonfixed_items() |