diff options
author | Oxore <oxore@protonmail.com> | 2017-11-29 02:14:29 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2017-11-29 02:14:29 +0300 |
commit | 66783797c33d457e9d4d7ca669a6ad1fa3cf554c (patch) | |
tree | 8f63ff37fb65d6053a35fc271245a2628d609a34 /codestyle.pl | |
parent | cbe7e7f3803ecb7d4c8b3a0ebf06e086fdf0bd9f (diff) |
Change coding style
Diffstat (limited to 'codestyle.pl')
-rwxr-xr-x | codestyle.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codestyle.pl b/codestyle.pl index 20b074d..77ce512 100755 --- a/codestyle.pl +++ b/codestyle.pl @@ -10,7 +10,7 @@ sub ln80 { or die("$file: no such file or direcory\n"); while (<FILE>) { chomp; - 1 while $_ =~ s/\t+/' ' x (length($&) * 8 - length($`) % 8)/e; + 1 while $_ =~ s/\t+/' ' x (length($&) * 4 - length($`) % 4)/e; if (length($_) > 80) { print "WRN: in $file line $. has ".length($_)."/80 chars\n"; } |