From: Ian Jackson Date: Fri, 5 Feb 2016 03:13:45 +0000 (+0000) Subject: commitid.scad.pl: Do not process \n as a character X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=f0820c19256946b5b9bf6af9543b6e60b15037d4 commitid.scad.pl: Do not process \n as a character --- diff --git a/commitid.scad.pl b/commitid.scad.pl index ee9be88..dcebd26 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -91,6 +91,7 @@ sub parsefont () { my %chrpolys; while () { next unless m/\S/; + chomp; my @chrs = split / /, $_; !~ m/\S/ or die; foreach my $row (reverse 0..4) {