1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 21:36:46 +02:00

a few general fixes

This commit is contained in:
Jfreegman
2014-09-24 15:15:07 -04:00
parent a432d733d7
commit 00cccad22c
4 changed files with 11 additions and 11 deletions

View File

@ -1013,7 +1013,7 @@ static void chat_onDraw(ToxWindow *self, Tox *m)
self->x = x2;
/* Truncate note if it doesn't fit in statusbar */
uint16_t maxlen = x2 - getcurx(statusbar->topline) - (KEY_IDENT_DIGITS * 2) - 6;
uint16_t maxlen = x2 - getcurx(statusbar->topline) - (KEY_IDENT_DIGITS * 2) - 3;
if (statusbar->statusmsg_len > maxlen) {
statusbar->statusmsg[maxlen - 3] = '\0';