Updated for 2019 release

This commit is contained in:
Rumble
2019-01-19 23:25:38 +00:00
parent 7c5e92d4c7
commit 674fbfddf1
17 changed files with 485 additions and 431 deletions

View File

@@ -100,7 +100,7 @@ void parse_edit_action(int command, char *string, struct descriptor_data *d)
{
int indent = 0, rep_all = 0, flags = 0, replaced, i, line_low, line_high, j = 0;
unsigned int total_len;
char *s, *t, temp;
char *s, *t, temp, *c;
char buf[MAX_STRING_LENGTH];
char buf2[MAX_STRING_LENGTH - 1];
@@ -130,7 +130,7 @@ void parse_edit_action(int command, char *string, struct descriptor_data *d)
break;
}
bool has_at = FALSE;
for (char* c = *d->str; *c; ++c) {
for (c = *d->str; *c; ++c) {
if (*c == '@') {
if (*(++c) != '@') {
has_at = TRUE;