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

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

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");