summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-12 19:41:32 +0200
committerhut <hut@lavabit.com>2010-10-12 19:41:32 +0200
commitf5596d8862ce4d89157eceb5ff030d56e1bc9664 (patch)
treecd90b0a6988d64809527ade000c295c266bb50d5 /ranger
parent21152271e74d00a458349e05278833a0bd077c2a (diff)
downloadranger-f5596d8862ce4d89157eceb5ff030d56e1bc9664.tar.gz
gui.widgets.pager: bugfix: make sure max_width is defined
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/pager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index 798c4697..196db499 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -47,6 +47,7 @@ class Pager(Widget):
 	def open(self):
 		self.scroll_begin = 0
 		self.markup = None
+		self.max_width = 0
 		self.startx = 0
 		self.need_redraw = True