mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-15 07:06:45 +02:00
core api const-correctness update
This commit is contained in:
@ -121,7 +121,7 @@ static struct line_info *line_info_ret_queue(struct history *hst)
|
||||
}
|
||||
|
||||
/* creates new line_info line and puts it in the queue */
|
||||
void line_info_add(ToxWindow *self, uint8_t *tmstmp, uint8_t *name1, uint8_t *name2, uint8_t *msg,
|
||||
void line_info_add(ToxWindow *self, uint8_t *tmstmp, uint8_t *name1, uint8_t *name2, const uint8_t *msg,
|
||||
uint8_t type, uint8_t bold, uint8_t colour)
|
||||
{
|
||||
struct history *hst = self->chatwin->hst;
|
||||
|
Reference in New Issue
Block a user