From 2fd9e788a9362637d2c725093fc86d303608388e Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 1 Mar 2012 00:43:44 +0000 Subject: [PATCH] Removed cons_good_show --- command.c | 2 +- jabber.c | 2 +- windows.c | 6 ------ windows.h | 1 - 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/command.c b/command.c index da2df857..c3113e44 100644 --- a/command.c +++ b/command.c @@ -108,7 +108,7 @@ static int _cmd_connect(char *inp) conn_status = jabber_connect(user, passwd); if (conn_status == JABBER_CONNECTING) - cons_good_show("Connecting..."); + cons_show("Connecting..."); if (conn_status == JABBER_DISCONNECTED) cons_bad_show("Connection to server failed."); diff --git a/jabber.c b/jabber.c index 6f1803b7..8cef3c52 100644 --- a/jabber.c +++ b/jabber.c @@ -196,7 +196,7 @@ static void _jabber_conn_handler(xmpp_conn_t * const conn, sprintf(line, "%s %s", jid, msg); title_bar_connected(); - cons_good_show(line); + cons_show(line); status_bar_print_message(jid); status_bar_refresh(); diff --git a/windows.c b/windows.c index 5e523711..bbba857f 100644 --- a/windows.c +++ b/windows.c @@ -181,12 +181,6 @@ void cons_help(void) cons_show(" F2-10 : Chat windows."); } -void cons_good_show(char *msg) -{ - _win_show_time(_cons_win); - wprintw(_cons_win, "%s\n", msg); -} - void cons_bad_show(char *msg) { _win_show_time(_cons_win); diff --git a/windows.h b/windows.h index 9310b3f9..cc0b75f0 100644 --- a/windows.h +++ b/windows.h @@ -65,7 +65,6 @@ void cons_not_disconnected(void); void cons_not_connected(void); void cons_bad_message(void); void cons_show(char *cmd); -void cons_good_show(char *cmd); void cons_bad_show(char *cmd); void cons_highlight_show(char *cmd);