From 58b9b777fb29a6c48c3fda1faec4cd95e2459084 Mon Sep 17 00:00:00 2001 From: epg <> Date: Tue, 15 Jun 2004 17:48:47 +0000 Subject: [PATCH] (filter_mail): Use $len to format the string rather than hard-coding 6 spaces for the numbers. --- minc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.56.0