summaryrefslogtreecommitdiff
path: root/codestyle.pl
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2017-11-29 02:14:29 +0300
committerOxore <oxore@protonmail.com>2017-11-29 02:14:29 +0300
commit66783797c33d457e9d4d7ca669a6ad1fa3cf554c (patch)
tree8f63ff37fb65d6053a35fc271245a2628d609a34 /codestyle.pl
parentcbe7e7f3803ecb7d4c8b3a0ebf06e086fdf0bd9f (diff)
Change coding style
Diffstat (limited to 'codestyle.pl')
-rwxr-xr-xcodestyle.pl2
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";
}