mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-04 23:36:45 +02:00
fixes
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user