summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/utils/mtx/mtx-0.60d/files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/mtx/mtx-0.60d/files.c b/Build/source/utils/mtx/mtx-0.60d/files.c
index 6702bcdd003..48aacc7aae7 100644
--- a/Build/source/utils/mtx/mtx-0.60d/files.c
+++ b/Build/source/utils/mtx/mtx-0.60d/files.c
@@ -275,9 +275,9 @@ Void OpenFiles()
pushFile(infilename);
strcpy(outfile_NAME, outfilename);
if (outfile != NULL)
- outfile = freopen(outfile_NAME, "w", outfile);
+ outfile = freopen(outfile_NAME, "wb", outfile);
else
- outfile = fopen(outfile_NAME, "w");
+ outfile = fopen(outfile_NAME, "wb");
_SETIO(outfile != NULL, FileNotFound);
strcpy(stylefile_NAME, stylefilename);
if (stylefile != NULL)