summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-10-14 10:03:27 +0000
committerDries Buytaert <dries@buytaert.net>2006-10-14 10:03:27 +0000
commit8fd797dfc74df81dbb4bc29c22896c8efa170cbb (patch)
tree55e8080164e0f3b37f6f64271c5fb556e4d56da1 /scripts
parent4eaccd056af2babd105ff09acd8b7cdc151a40f0 (diff)
downloadbrdo-8fd797dfc74df81dbb4bc29c22896c8efa170cbb.tar.gz
brdo-8fd797dfc74df81dbb4bc29c22896c8efa170cbb.tar.bz2
- Small correction to code style checker.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code-style.pl2
1 files changed, 1 insertions, 1 deletions
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