summaryrefslogtreecommitdiff
path: root/testing/toxic/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/chat.c')
-rw-r--r--testing/toxic/chat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c
index c11a7f12..eb297f7c 100644
--- a/testing/toxic/chat.c
+++ b/testing/toxic/chat.c
@@ -236,6 +236,7 @@ void print_help(ChatContext* self) {
236 wprintw(self->history, " /nick <nickname> : Set your nickname\n"); 236 wprintw(self->history, " /nick <nickname> : Set your nickname\n");
237 wprintw(self->history, " /myid : Print your ID\n"); 237 wprintw(self->history, " /myid : Print your ID\n");
238 wprintw(self->history, " /clear : Clear the screen\n"); 238 wprintw(self->history, " /clear : Clear the screen\n");
239 wprintw(self->history, " /close : Closes the current chat window\n");
239 wprintw(self->history, " /quit or /exit : Exit program\n"); 240 wprintw(self->history, " /quit or /exit : Exit program\n");
240 wprintw(self->history, " /help : Print this message again\n\n"); 241 wprintw(self->history, " /help : Print this message again\n\n");
241 242
@@ -264,5 +265,6 @@ ToxWindow new_chat(int friendnum) {
264 x->friendnum = friendnum; 265 x->friendnum = friendnum;
265 266
266 ret.x = (void*) x; 267 ret.x = (void*) x;
268 free(x);
267 return ret; 269 return ret;
268} \ No newline at end of file 270}