]> Sergey Matveev's repositories - public-inbox.git/commit
view: avoid excessive indentation in thread summary
authorEric Wong <e@80x24.org>
Wed, 30 Dec 2015 21:56:56 +0000 (21:56 +0000)
committerEric Wong <e@80x24.org>
Wed, 30 Dec 2015 21:56:56 +0000 (21:56 +0000)
commit9f297a938dc3dec3d2ab5ba56394c97f393a95e4
treef8f295977dabdbfb482ea3dc783bfa27d4726bd6
parentbe984ce279776d4513b4ca1bff05ebecafdd1bad
view: avoid excessive indentation in thread summary

We already use "` " (backtick + space) to denote one indentation
level, so do not excessively indent and always pad with one
level less of spaces.

The 'x' operator in Perl handles negative values, so subtracting
one from level=0 will result in an empty string without spaces.
lib/PublicInbox/View.pm