diff options
author | Aaron Lipinski <kris.lipinski@gmail.com> | 2013-08-17 20:00:19 +1200 |
---|---|---|
committer | Aaron Lipinski <kris.lipinski@gmail.com> | 2013-08-18 20:26:39 +1200 |
commit | 1e4f9802fbe9375fd465594e1dffcc93fea03293 (patch) | |
tree | 69b0b3be031e76346f1416c2d13ce4c4d27ac66a /testing/toxic/chat.c | |
parent | 12564b1f12af9cbd1f0792f9d7268c6c8ce0cb17 (diff) |
remove WINDOW_STATUS, simplify adding and selecting chat windows
Diffstat (limited to 'testing/toxic/chat.c')
-rw-r--r-- | testing/toxic/chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c index ef932cd2..67c2ed05 100644 --- a/testing/toxic/chat.c +++ b/testing/toxic/chat.c | |||
@@ -335,7 +335,8 @@ void execute(ToxWindow *self, ChatContext *ctx, Messenger *m, char *cmd) | |||
335 | else if (strcmp(ctx->line, "/close") == 0) { | 335 | else if (strcmp(ctx->line, "/close") == 0) { |
336 | int f_num = ctx->friendnum; | 336 | int f_num = ctx->friendnum; |
337 | delwin(ctx->linewin); | 337 | delwin(ctx->linewin); |
338 | del_window(self, f_num); | 338 | del_window(self); |
339 | disable_chatwin(f_num); | ||
339 | } | 340 | } |
340 | 341 | ||
341 | else | 342 | else |