diff options
author | hut <hut@lavabit.com> | 2012-05-10 23:36:32 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-05-10 23:36:32 +0200 |
commit | 55342a7120fcd81ca64477218fcba8945f540b0c (patch) | |
tree | 23f433d47a234644c4a8521331724f122393c415 /ranger | |
parent | 93601b17cfea3264b07c11cf9bbac44bf027181a (diff) | |
download | ranger-55342a7120fcd81ca64477218fcba8945f540b0c.tar.gz |
widgets.browsercolumn: more failsafe
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index ab2e1c05..3e523fbb 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -313,6 +313,7 @@ class BrowserColumn(Pager): if tagged and (self.main_column or \ self.settings.display_tags_in_all_columns): padding -= 1 + padding = max(0, padding) infostring = (" " * padding) + infostring display_data.append([infostring, attr]) else: |