foxygit / doom Log in
commit 3fd97506e16b5c6e4f744ebe211d698c3e734619
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Wed Oct 25 18:07:57 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Wed Oct 25 18:07:57 2006 +0000

    Don't print arguments read from response files - Vanilla Doom doesn't do
    it.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 737
---
 src/d_main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/d_main.c b/src/d_main.c
index d9f7e997..707f8c99 100644
--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1046,8 +1046,6 @@ static void LoadResponseFile(int argv_index)

             infile[k] = '\0';

-            printf("added arg: '%s'\n", newargv[newargc - 1]);
-
             ++k;
         }
     }
@@ -1063,6 +1061,8 @@ static void LoadResponseFile(int argv_index)
     myargv = newargv;
     myargc = newargc;

+#if 0
+    // Disabled - Vanilla Doom does not do this.
     // Display arguments

     printf("%d command-line args:\n", myargc);
@@ -1071,6 +1071,7 @@ static void LoadResponseFile(int argv_index)
     {
         printf("'%s'\n", myargv[k]);
     }
+#endif
 }

 //