Skip to content

Commit

Permalink
Fixed joinstrings() Toby function.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 26, 2007
1 parent 3d5dfe5 commit f37c77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toby_app.c
Expand Up @@ -626,7 +626,7 @@ static int luahook_joinstrings(lua_State *L)
if (buf == NULL)
throwError(L, "Out of memory");
strcpy(buf, str1);
strcat(buf, str1);
strcat(buf, str2);
lua_pushstring(L, buf);
free(buf);
return 1;
Expand Down

0 comments on commit f37c77d

Please sign in to comment.