From c624a01eddca720f80dc4b11baf7f4ea7b85dde6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 8 May 2018 21:01:29 +0200 Subject: Fix tabulation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- loc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loc.c b/loc.c index dc47107..bd43584 100644 --- a/loc.c +++ b/loc.c @@ -178,9 +178,9 @@ main(int argc, char *argv[]) } if (res[i].n >= 0) { left = strwidth(argv[i]); - left = left > maxleft ? left : maxleft; + maxleft = left > maxleft ? left : maxleft; right = zuwidth(res[i].n); - right = right > maxright ? right : maxright; + maxright = right > maxright ? right : maxright; res[i].width = left + right; } } -- cgit v1.2.3-70-g09d2