From 66783797c33d457e9d4d7ca669a6ad1fa3cf554c Mon Sep 17 00:00:00 2001 From: Oxore Date: Wed, 29 Nov 2017 02:14:29 +0300 Subject: Change coding style --- codestyle.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codestyle.pl') 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 () { 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"; } -- cgit v1.2.3