summaryrefslogtreecommitdiff
path: root/mkfontscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfontscale.c')
-rw-r--r--mkfontscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index be5136c..c758e18 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -800,7 +800,7 @@ doDirectory(char *dirname_given, int numEncodings, ListPtr encodingsToDo)
if(fontscale_name == NULL)
fontscale = stdout;
else
- fontscale = fopen(fontscale_name, "w");
+ fontscale = fopen(fontscale_name, "wb");
if(fontscale == NULL) {
fprintf(stderr, "%s: ", fontscale_name);