Open output files in binary mode. Hopefully this will help with #16
This commit is contained in:
parent
0702a50c2b
commit
3cdfeead48
|
@ -95,7 +95,7 @@ else
|
|||
buffer = new ubyte[](cast(size_t) f.size);
|
||||
f.rawRead(buffer);
|
||||
if (inplace)
|
||||
output = File(path, "w");
|
||||
output = File(path, "wb");
|
||||
format(path, buffer, output.lockingTextWriter(), &formatterConfig);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue