2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

Windows fixes from Klaus

git-svn-id: https://svn.fhem.de/fhem/trunk@432 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2009-08-30 16:52:13 +00:00
parent ca4c55ee09
commit 00ebc81d35

View File

@ -1323,7 +1323,8 @@ FW_style($$)
pO "$f: $!"; pO "$f: $!";
return; return;
} }
$__data =~ s/\r//g if($^O ne 'MSWin32'); $__data =~ s/\r//g if($^O !~ m/Win/);
binmode (FH);
print FH $__data; print FH $__data;
close(FH); close(FH);
FW_style("style list", "Saved file $f"); FW_style("style list", "Saved file $f");