diff options
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 |
commit | ad5130290834957a2637e899ffa847420d0510fe (patch) | |
tree | d84d7d55fbe902f5b974b4d57fc45ea0a79a3ba6 /src/cgame | |
parent | 39e8a98f7b567aaefa844edc040b1952ee40a6d6 (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/cgame')
-rw-r--r-- | src/cgame/cg_consolecmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_consolecmds.c b/src/cgame/cg_consolecmds.c index c54d51fb..adae40a8 100644 --- a/src/cgame/cg_consolecmds.c +++ b/src/cgame/cg_consolecmds.c @@ -168,7 +168,7 @@ void CG_ClientList_f( void ) static void CG_UIMenu_f( void ) { - trap_SendConsoleCommand( va( "menu %s\n", CG_Argv( 1 ) ) ); + trap_SendConsoleCommand( va( "menu \"%s\"\n", CG_Argv( 1 ) ) ); } static consoleCommand_t commands[ ] = |