Commit 987ea468 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

Get winemaker to drop the trailing CtrlZ that is still to be found on

quite a lot of DOS files.
parent 704d0353
......@@ -1307,6 +1307,11 @@ sub fix_file
my $rc_textinclude_state=0;
my @pack_stack;
while (<FILEI>) {
# Remove any trailing CtrlZ, which isn't strictly in the file
if (/\x1A/) {
s/\x1A//;
last if (/^$/)
}
$line++;
s/\r\n$/\n/;
if (!/\n$/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment