diff options
Diffstat (limited to 'loc.c')
-rw-r--r-- | loc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |