diff options
author | hut <hut@lavabit.com> | 2010-04-26 10:51:43 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-26 20:56:27 +0200 |
commit | 26fbda26e39a4edc9705f71e5f16b5dd5ea96009 (patch) | |
tree | 90b9f7c58ea13a88a3379422e22ab3d4552999d3 /ranger | |
parent | f31ad6f10fa5d3198b97bd4bcc57e4cf659bd1ca (diff) | |
download | ranger-26fbda26e39a4edc9705f71e5f16b5dd5ea96009.tar.gz |
widgets.browsercolumn: fixed width-check for infostring
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index b193a523..e4ba4b64 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -304,7 +304,7 @@ class BrowserColumn(Pager): x = self.wid - 1 - len(info) if info is BAD_INFO: bad_info_color = (x, len(str(info))) - if x > self.x: + if x > 0: self.win.addstr(line, x, str(info) + ' ') except: # the drawing of the last string will cause an error |