diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-28 20:05:36 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:13 +0000 |
commit | affe24fa3b3cb08c396d94f9e88c404d26da7ddc (patch) | |
tree | 4052c9921445574a25beae4f6add474f0125fa63 /src | |
parent | 71ec66125597a42c10f9ce4ae67aed2b9a947c34 (diff) |
* Fix a bug with command concatenation with commands entered from the chat ui
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/ui_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 896d0ca7..a1423e86 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3051,7 +3051,7 @@ static void UI_RunMenuScript( char **args ) else if( ui_chatCommands.integer && ( buffer[ 0 ] == '/' || buffer[ 0 ] == '\\' ) ) { - trap_Cmd_ExecuteText( EXEC_APPEND, buffer + 1 ); + trap_Cmd_ExecuteText( EXEC_APPEND, va( "%s\n", buffer + 1 ) ); } else if( uiInfo.chatTeam ) trap_Cmd_ExecuteText( EXEC_APPEND, va( "say_team \"%s\"\n", buffer ) ); |