From f5596d8862ce4d89157eceb5ff030d56e1bc9664 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 12 Oct 2010 19:41:32 +0200 Subject: gui.widgets.pager: bugfix: make sure max_width is defined --- ranger/gui/widgets/pager.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.4.1-2-gfad0