diff --git a/source/ctod/util.d b/source/ctod/util.d index 7fa3ba6..b264550 100644 --- a/source/ctod/util.d +++ b/source/ctod/util.d @@ -65,6 +65,12 @@ else string fileReadText(string path) @trusted { - return cast(string) read(path); + version(Windows) + { + import std.string; + return (cast(string) read(path)).replace("\r", ""); + } + else + return cast(string) read(path); } }