From 6a716ae43b110b06d8dd9254c93ab3a10da77267 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 4 Sep 2011 10:41:43 +0000 Subject: [PATCH] Fixed an error: The output file shouldn't be opened in binary mode (thefox). git-svn-id: svn://svn.cc65.org/cc65/trunk@5297 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/co65/convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/co65/convert.c b/src/co65/convert.c index 6b60f86de..42b2df1b4 100644 --- a/src/co65/convert.c +++ b/src/co65/convert.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2003-2009, Ullrich von Bassewitz */ +/* (C) 2003-2011, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -448,7 +448,7 @@ void Convert (const O65Data* D) } /* Open the output file */ - F = fopen (OutputName, "wb"); + F = fopen (OutputName, "w"); if (F == 0) { Error ("Cannot open `%s': %s", OutputName, strerror (errno)); } -- 2.39.5