mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
parent
1ccb6adaee
commit
76ee205a15
1 changed files with 4 additions and 4 deletions
|
@ -557,7 +557,7 @@ void aedit_parse(struct descriptor_data * d, char *arg) {
|
|||
}
|
||||
if (OLC_ACTION(d)->command)
|
||||
free(OLC_ACTION(d)->command);
|
||||
OLC_ACTION(d)->command = strdup(arg);
|
||||
OLC_ACTION(d)->command = strdup(arg);
|
||||
|
||||
break;
|
||||
|
||||
|
@ -566,10 +566,10 @@ void aedit_parse(struct descriptor_data * d, char *arg) {
|
|||
aedit_disp_menu(d);
|
||||
return;
|
||||
}
|
||||
if (OLC_ACTION(d)->sort_as) {
|
||||
if (OLC_ACTION(d)->sort_as)
|
||||
free(OLC_ACTION(d)->sort_as);
|
||||
OLC_ACTION(d)->sort_as = strdup(arg);
|
||||
}
|
||||
OLC_ACTION(d)->sort_as = strdup(arg);
|
||||
|
||||
break;
|
||||
|
||||
case AEDIT_MIN_CHAR_POS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue