1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 16:16:46 +02:00

truncate friends' notes if they're too long

This commit is contained in:
Jfreegman
2013-09-10 04:04:13 -04:00
parent f50f93ee81
commit 9e8fa92109
4 changed files with 200 additions and 178 deletions

View File

@ -669,7 +669,6 @@ void prompt_init_statusbar(ToxWindow *self, Tox *m)
StatusBar *statusbar = (StatusBar *) self->s;
statusbar->status = TOX_USERSTATUS_NONE;
statusbar->is_online = false;
statusbar->max_len = x;
uint8_t nick[TOX_MAX_NAME_LENGTH] = {'\0'};
tox_getselfname(m, nick, TOX_MAX_NAME_LENGTH);