mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-08 22:06:44 +02:00
Fixed merge problem and set better default names.
This commit is contained in:
2
chat.c
2
chat.c
@ -181,7 +181,7 @@ static void chat_onKey(ToxWindow *self, Messenger *m, int key)
|
||||
/* make sure the string has at least non-space character */
|
||||
if (!string_is_empty(ctx->line)) {
|
||||
uint8_t selfname[MAX_NAME_LENGTH];
|
||||
getself_name(m, selfname);
|
||||
getself_name(m, selfname, sizeof(selfname));
|
||||
fix_name(selfname);
|
||||
|
||||
wattron(ctx->history, COLOR_PAIR(2));
|
||||
|
Reference in New Issue
Block a user