summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-10-22 18:53:31 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-10-22 18:53:31 +0000
commit98e06cdabd912f20b9f1e574a3d63ae33a25f22b (patch)
tree083248964b24ad7cf4c110d70aae8c2b978302ec /src
parentAdded "Other" radio toggle for the URI field on our license dialog (diff)
downloadinkscape-98e06cdabd912f20b9f1e574a3d63ae33a25f22b.tar.gz
inkscape-98e06cdabd912f20b9f1e574a3d63ae33a25f22b.zip
Applied patch to mkfiles.pl from Andre Twupack
(bzr r1830)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/mkfiles.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mkfiles.pl b/src/mkfiles.pl
index 5da72ffac..100e54b5b 100755
--- a/src/mkfiles.pl
+++ b/src/mkfiles.pl
@@ -60,7 +60,9 @@ sub doMakeFiles
{
$line = $_;
#Trim whitespace from ends
- $line =~ s/^\s|\t|\n//;
+ # $line =~ s/^\s|\t|\n//;
++ $line =~ s/^\s+//;
++ $line =~ s/\s+$//;
#Ignore if no text in line
next if ( length($line) < 1 );
#Ignore if starts with '#'