diff options
author | Mattias Andrée <maandree@kth.se> | 2018-05-08 21:01:29 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-05-08 21:01:29 +0200 |
commit | c624a01eddca720f80dc4b11baf7f4ea7b85dde6 (patch) | |
tree | 6284f0018cd834ff7f2dcfd21c9917d2d2cbe787 | |
parent | Add missing test case (diff) | |
download | loc-c624a01eddca720f80dc4b11baf7f4ea7b85dde6.tar.gz loc-c624a01eddca720f80dc4b11baf7f4ea7b85dde6.tar.bz2 loc-c624a01eddca720f80dc4b11baf7f4ea7b85dde6.tar.xz |
Fix tabulation3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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; } } |