about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-11-29 09:29:24 +0000
committerEric Wong <e@80x24.org>2017-11-29 09:29:24 +0000
commit0d48c3d9b83393337b20ed50aa7847c0a7e6b506 (patch)
treea1556abe5f8b905aca65e72173c84cf5b8246b9a
parent398b85e2a27718ba9eb0cc1d022660aadb184add (diff)
downloadpublic-inbox-0d48c3d9b83393337b20ed50aa7847c0a7e6b506.tar.gz
Perl 5.22 started warning about this.
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index ad94977a..41f1321e 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -720,7 +720,7 @@ sub ghost_parent {
 
 sub indent_for {
         my ($level) = @_;
-        INDENT x ($level - 1);
+        $level ? INDENT x ($level - 1) : '';
 }
 
 sub load_results {