1
0
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:
irungentoo
2013-08-13 07:39:04 -04:00
parent b17c1e9f33
commit fcf556cd1b
2 changed files with 8 additions and 2 deletions

2
chat.c
View File

@ -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));