From 55342a7120fcd81ca64477218fcba8945f540b0c Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 10 May 2012 23:36:32 +0200 Subject: widgets.browsercolumn: more failsafe --- ranger/gui/widgets/browsercolumn.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit 1.4.1-2-gfad0 b5ad5682c698'>this commit Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log blame commit diff stats
path: root/.gitignore
blob: 9164595eb451a4d3ad197178c83488101cdc8fc4 (plain) (tree)
1
2
3
4
5
6
7
8
9