1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-15 07:06:45 +02:00

fix chat scroll bug

This commit is contained in:
Jfreegman
2014-06-01 03:38:20 -04:00
parent ab1c97fb2b
commit d65d0a08aa
3 changed files with 24 additions and 2 deletions

View File

@ -209,6 +209,10 @@ void line_info_add(ToxWindow *self, uint8_t *tmstmp, uint8_t *name1, uint8_t *na
void line_info_print(ToxWindow *self)
{
ChatContext *ctx = self->chatwin;
if (ctx == NULL)
return;
WINDOW *win = ctx->history;
ctx->hst->queue = 0;