summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-06-08 17:44:55 +0200
committer/dev/humancontroller <devhc@example.com>2017-02-08 02:17:01 +0100
commitad5130290834957a2637e899ffa847420d0510fe (patch)
treed84d7d55fbe902f5b974b4d57fc45ea0a79a3ba6 /src/client
parent39e8a98f7b567aaefa844edc040b1952ee40a6d6 (diff)
add missing trailing '\n's from strings to execute; add double quotes around substituted argument strings
also transform trailing ';'s to '\n's
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index b9c20d34..16253921 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -3074,7 +3074,7 @@ void CL_Frame ( int msec ) {
COM_StripExtension(mapName, mapName, sizeof(mapName));
Cbuf_ExecuteText( EXEC_NOW,
- va( "record %s-%s-%s", nowString, serverName, mapName ) );
+ va( "record \"%s-%s-%s\"\n", nowString, serverName, mapName ) );
}
else if( clc.state != CA_ACTIVE && clc.demorecording ) {
// Recording, but not CA_ACTIVE, so stop recording