diff options
author | Simon Howard | 2006-10-24 20:00:38 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-24 20:00:38 +0000 |
commit | d331243c9c83ffa1815aa71dbe2a8fe79d03ca67 (patch) | |
tree | b2494328ee1090040096680795270b0eb1dbd3bb /setup | |
parent | 5f96cc7fdc463b695419d0589b1d19fe38e6efe6 (diff) | |
download | chocolate-doom-d331243c9c83ffa1815aa71dbe2a8fe79d03ca67.tar.gz chocolate-doom-d331243c9c83ffa1815aa71dbe2a8fe79d03ca67.tar.bz2 chocolate-doom-d331243c9c83ffa1815aa71dbe2a8fe79d03ca67.zip |
Escape WAD filenames passed to Doom with " quotes, to allow WAD
filenames with spaces.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 732
Diffstat (limited to 'setup')
-rw-r--r-- | setup/multiplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/multiplayer.c b/setup/multiplayer.c index f22b07c2..22788302 100644 --- a/setup/multiplayer.c +++ b/setup/multiplayer.c @@ -92,7 +92,7 @@ static void AddWADs(execute_context_t *exec) AddCmdLineParameter(exec, "-file"); } - AddCmdLineParameter(exec, wads[i]); + AddCmdLineParameter(exec, "\"%s\"", wads[i]); } } } |