1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 23:36:45 +02:00
This commit is contained in:
Jfreegman
2013-09-23 01:22:21 -04:00
parent bde7aacc8d
commit e6956b1abc
5 changed files with 41 additions and 30 deletions

View File

@ -160,7 +160,7 @@ static void groupchat_onKey(ToxWindow *self, Tox *m, wint_t key)
bool close_win = false;
if (line[0] == '/') {
if (close_win = strncmp(line, "/close", strlen(line)) == 0) {
if (close_win = strncmp(line, "/close", strlen("/close")) == 0) {
set_active_window(0);
int groupnum = self->num;
delwin(ctx->linewin);