chiark / gitweb /
commitid.scad.pl: Do not process \n as a character
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 03:13:45 +0000 (03:13 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 03:13:45 +0000 (03:13 +0000)
commitid.scad.pl

index ee9be88..dcebd26 100755 (executable)
@@ -91,6 +91,7 @@ sub parsefont () {
     my %chrpolys;
     while (<DATA>) {
        next unless m/\S/;
+       chomp;
        my @chrs = split / /, $_;
        <DATA> !~ m/\S/ or die;
        foreach my $row (reverse 0..4) {