mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Update interpreter.c
This commit is contained in:
parent
e2d212f2d1
commit
cf9902bafe
1 changed files with 2 additions and 1 deletions
|
@ -698,7 +698,8 @@ static void perform_complex_alias(struct txt_q *input_q, char *orig, struct alia
|
||||||
strcpy(write_point, tokens[num]); /* strcpy: OK */
|
strcpy(write_point, tokens[num]); /* strcpy: OK */
|
||||||
write_point += strlen(tokens[num]);
|
write_point += strlen(tokens[num]);
|
||||||
} else if (*temp == ALIAS_GLOB_CHAR) {
|
} else if (*temp == ALIAS_GLOB_CHAR) {
|
||||||
strcpy(write_point, orig); /* strcpy: OK */
|
skip_spaces(&orig);
|
||||||
|
strcpy(write_point, orig); /* strcpy: OK */
|
||||||
write_point += strlen(orig);
|
write_point += strlen(orig);
|
||||||
} else if ((*(write_point++) = *temp) == '$') /* redouble $ for act safety */
|
} else if ((*(write_point++) = *temp) == '$') /* redouble $ for act safety */
|
||||||
*(write_point++) = '$';
|
*(write_point++) = '$';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue