From 253731b66d4a70d5040d11e4b1acf8aa58230a46 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 19 Sep 2010 20:09:36 +0000 Subject: Read response file in binary mode, to fix incomplete response file bug. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2122 --- src/m_argv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m_argv.c b/src/m_argv.c index 7fc15863..99295c6d 100644 --- a/src/m_argv.c +++ b/src/m_argv.c @@ -74,9 +74,9 @@ static void LoadResponseFile(int argv_index) int i, k; response_filename = myargv[argv_index] + 1; - + // Read the response file into memory - handle = fopen(response_filename, "r"); + handle = fopen(response_filename, "rb"); if (handle == NULL) { -- cgit v1.2.3