summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/bar.py2
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()