a nicer way of copying strings :)

SVN revision: 12424
This commit is contained in:
tsauerbeck 2004-12-09 19:27:22 +00:00 committed by tsauerbeck
parent bec1a34a8e
commit 4c6927b595
1 changed files with 1 additions and 5 deletions

View File

@ -178,11 +178,7 @@ collections {
new buf[100];
snprintf(buf, sizeof(buf), "MESSAGE STRING ID: %i", id);
for (new j = 0; j < (sizeof(str) - 1); j++)
{
str[j] = getarg(2, j);
if (str[j] == 0) break;
}
snprintf(str, sizeof(str), "%s", getarg (2));
emit(buf, str);
}
else if (type == MSG_INT_SET)