1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 22:56:46 +02:00

Fix line wrapping/padding issues

It should now parse messages with newlines properly as well as messages that
contain long sequences of characters with no spaces
This commit is contained in:
jfreegman
2020-11-24 19:47:04 -05:00
parent f0c4906fdc
commit d35a38735b
3 changed files with 71 additions and 33 deletions

View File

@ -88,6 +88,7 @@ static void cqueue_mark_read(ToxWindow *self, struct cqueue_msg *msg)
if (line->noread_flag == true) {
line->len -= 2;
line->msg_len -= 2;
line->noread_flag = false;
}