summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/skingen.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/skingen.pl b/util/skingen.pl
index 9c06b077..40035a5c 100755
--- a/util/skingen.pl
+++ b/util/skingen.pl
@@ -27,6 +27,7 @@ sub readskin { # skin name
open my $F, '<', $ROOT.'/static/s/'.$name.'/conf' or die $!;
while(<$F>) {
chomp;
+ s/\r//g;
s{[\t\s]*//.+$}{};
next if !/^([a-z0-9]+)[\t\s]+(.+)$/;
$o{$1} = $2;