From: epg <> Date: Tue, 15 Jun 2004 17:48:47 +0000 (+0000) Subject: (filter_mail): Use $len to format the string rather than hard-coding 6 X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/58b9b777fb29a6c48c3fda1faec4cd95e2459084 (filter_mail): Use $len to format the string rather than hard-coding 6 spaces for the numbers. --- diff --git a/minc b/minc index 729bbb2..1bc5b9c 100755 --- a/minc +++ b/minc @@ -577,7 +577,7 @@ sub filter_mail { $FOLDERS{$mhfolder} = 1; } - printf('%6d SPAM %6d saved %6d/%1d', + printf("\%${len}d SPAM \%${len}d saved \%${len}d/%1d", $spam, $saved, $spam + $saved, $msgcount); defined($maxmsgs) and ($spam + $saved < $maxmsgs or last);