mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-03 12:16:44 +02:00
escape newlines in contact names/status messages
This commit is contained in:
@ -553,7 +553,7 @@ static void delete_friend(Tox *m, int32_t f_num)
|
||||
/* activates delete friend popup */
|
||||
static void del_friend_activate(ToxWindow *self, Tox *m, int32_t f_num)
|
||||
{
|
||||
pendingdelete.popup = newwin(3, 22 + TOXIC_MAX_NAME_LENGTH - 1, 8, 8);
|
||||
pendingdelete.popup = newwin(3, 22 + TOXIC_MAX_NAME_LENGTH, 8, 8);
|
||||
pendingdelete.active = true;
|
||||
pendingdelete.num = f_num;
|
||||
}
|
||||
|
Reference in New Issue
Block a user