From 8fd797dfc74df81dbb4bc29c22896c8efa170cbb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 14 Oct 2006 10:03:27 +0000 Subject: - Small correction to code style checker. --- scripts/code-style.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/code-style.pl b/scripts/code-style.pl index f76d6433b..a492bbcfc 100644 --- a/scripts/code-style.pl +++ b/scripts/code-style.pl @@ -116,7 +116,7 @@ while (<>) { elsif (/([\(\[]) / && $program) { $msg = "'$1 ' -> '$1'"; } - elsif (/ ([\)\]])/ && $program) { + elsif (/\S ([\)\]])/ && $program) { $msg = "' $1' -> '$1'"; } # but no brackets -- cgit v1.2.3