summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2006-10-25 18:07:57 +0000
committerSimon Howard2006-10-25 18:07:57 +0000
commit3fd97506e16b5c6e4f744ebe211d698c3e734619 (patch)
tree95485cd087956129217c54cb60ebb3dca73b8341
parent028cf7e25dcb89456dcba019d8e9f562a1904e46 (diff)
downloadchocolate-doom-3fd97506e16b5c6e4f744ebe211d698c3e734619.tar.gz
chocolate-doom-3fd97506e16b5c6e4f744ebe211d698c3e734619.tar.bz2
chocolate-doom-3fd97506e16b5c6e4f744ebe211d698c3e734619.zip
Don't print arguments read from response files - Vanilla Doom doesn't do
it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 737
-rw-r--r--src/d_main.c5
1 files 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
}
//