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 ee9be882723147703c2054fff2e1151a51ea7c44..dcebd26a5c1cd9bf853294d9ec3a63c1e86db7d6 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) {