summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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