mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 02:23:02 +01:00
fix segfault
This commit is contained in:
parent
9f309ecb96
commit
5b9d3f6f62
@ -497,11 +497,11 @@ static void chat_onKey(ToxWindow *self, Tox *m, wint_t key)
|
||||
free(statusbar);
|
||||
} else {
|
||||
reset_buf(ctx->line, &ctx->pos, &ctx->len);
|
||||
|
||||
if (ctx->len <= 0 && ctx->self_is_typing)
|
||||
set_typingstatus(self, m, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (ctx->len <= 0 && ctx->self_is_typing)
|
||||
set_typingstatus(self, m, false);
|
||||
}
|
||||
|
||||
static void chat_onDraw(ToxWindow *self, Tox *m)
|
||||
|
Loading…
Reference in New Issue
Block a user