refactor: make char * parameters const in message.c

Add const to char * parameters in message.c functions and remove some
redundant casts.
This commit is contained in:
ii14
2023-04-07 19:39:04 +02:00
committed by GitHub
parent d675bd01b1
commit 1d2a29f75b
8 changed files with 23 additions and 23 deletions

View File

@@ -1639,7 +1639,7 @@ static bool highlight_list_arg(const int id, bool didh, const int type, int iarg
msg_puts_attr(name, HL_ATTR(HLF_D));
msg_puts_attr("=", HL_ATTR(HLF_D));
}
msg_outtrans((char *)ts);
msg_outtrans(ts);
}
return didh;
}