1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 00:26:34 +01:00

load chatlog history when opening a chatwindow

This commit is contained in:
Jfreegman
2014-09-22 04:29:28 -04:00
parent 7fd3aa9164
commit dc3b2e04ab
5 changed files with 73 additions and 8 deletions

View File

@@ -135,7 +135,7 @@ void line_info_add(ToxWindow *self, char *timestr, char *name1, char *name2, uin
{
struct history *hst = self->chatwin->hst;
if (hst->queue_sz >= MAX_QUEUE)
if (hst->queue_sz >= MAX_LINE_INFO_QUEUE)
return;
struct line_info *new_line = calloc(1, sizeof(struct line_info));