mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-28 17:27:08 -05:00
sbcsgen.pl: handle \r\n line endings.
These show up if you build from the Windows source archive on Unix, which is an odd thing to be trying to do, but I managed it myself the other day by accident :-)
This commit is contained in:
parent
a01deea1b1
commit
e6f9df9208
@ -38,7 +38,7 @@ my @charsetnames = ();
|
||||
my @sortpriority = ();
|
||||
|
||||
while (<FOO>) {
|
||||
chomp;
|
||||
chomp; y/\r//d;
|
||||
if (/^charset (.*)$/) {
|
||||
$charsetname = $1;
|
||||
@vals = ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user