aboutsummaryrefslogtreecommitdiffstats
path: root/loc.c
diff options
context:
space:
mode:
Diffstat (limited to 'loc.c')
-rw-r--r--loc.c4
1 files 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;
}
}