summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--globals.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl
index b924831b8..439e36cea 100644
--- a/globals.pl
+++ b/globals.pl
@@ -513,8 +513,8 @@ sub PerformSubsts {
sub trim {
($_) = (@_);
- s/^\s*//g;
- s/\s*$//g;
+ s/^\s+//g;
+ s/\s+$//g;
return $_;
}