*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@539 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-08 03:00:55 +00:00
parent 487de00302
commit 02ec4326ec
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -177,8 +177,7 @@ int execute(char *p) // all evaluation happens here,
{
int len = max(numargs-2, 0);
for(int i = 1; i<numargs; i++) len += (int)strlen(w[i]);
char *r = newstring(len);
r[0] = 0;
char *r = newstring("", len);
for(int i = 1; i<numargs; i++)
{
strcat(r, w[i]); // make string-list out of all arguments