Cmd_Alias_f: don't append a space at the very end.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@515 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2011-12-13 18:40:23 +00:00
parent a37edca19c
commit fd046a0f48

View file

@ -347,10 +347,10 @@ void Cmd_Alias_f (void)
// copy the rest of the command line
cmd[0] = 0; // start out with a null string
c = Cmd_Argc();
for (i=2 ; i< c ; i++)
for (i = 2; i < c; i++)
{
strcat (cmd, Cmd_Argv(i));
if (i != c)
if (i != c - 1)
strcat (cmd, " ");
}
strcat (cmd, "\n");