foxygit / doom Log in
commit 226dbe09dda81adfb1b2929a832d7484ce3676d8
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Apr 5 18:32:57 2014 -0400
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Apr 5 18:32:57 2014 -0400

    setup: Add missing argument to M_StringJoin.

    Last argument to M_StringJoin needs to be NULL.
---
 src/setup/execute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/setup/execute.c b/src/setup/execute.c
index 9d798264..9bc4f9ae 100644
--- a/src/setup/execute.c
+++ b/src/setup/execute.c
@@ -341,7 +341,7 @@ int ExecuteDoom(execute_context_t *context)

     // Build the command line

-    response_file_arg = M_StringJoin("@", context->response_file);
+    response_file_arg = M_StringJoin("@", context->response_file, NULL);

     // Run Doom