summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkfontscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index 464224c..c624796 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -19,7 +19,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-/* $XdotOrg: xc/programs/mkfontscale/mkfontscale.c,v 1.2 2004/04/23 19:54:36 eich Exp $ */
+/* $XdotOrg: xc/programs/mkfontscale/mkfontscale.c,v 1.1.4.1.2.2 2004/09/15 16:34:16 ago Exp $ */
/* $XFree86: xc/programs/mkfontscale/mkfontscale.c,v 1.21 2003/12/10 02:58:07 dawes Exp $ */
#include <stdio.h>
@@ -799,7 +799,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);