From 86d7734efea1e7f345a9635f78bbf055116f8d84 Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Sat, 3 Aug 2013 04:10:47 -0700 Subject: [PATCH] Removed some useless code --- testing/toxic/chat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c index b835cf2d..19f5c972 100644 --- a/testing/toxic/chat.c +++ b/testing/toxic/chat.c @@ -107,19 +107,16 @@ static void chat_onKey(ToxWindow* self, int key) { } else if(key == '\n') { - printf("Get times to int"); int inthour = timeinfo->tm_hour; //Pretty bad, but it gets the job done int intmin = timeinfo->tm_min; char min[2]; char hour[2]; - printf("Turn to varible"); sprintf(hour,"%d",inthour); if (intmin < 10) { sprintf(min,"0%d",intmin); } else { sprintf(min,"%d",intmin); } - printf("Display"); wattron(ctx->history, COLOR_PAIR(2)); wprintw(ctx->history,"%s",hour); wprintw(ctx->history,":%s ",min);