about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-03-01 00:43:44 +0000
committerJames Booth <boothj5@gmail.com>2012-03-01 00:43:44 +0000
commit2fd9e788a9362637d2c725093fc86d303608388e (patch)
tree7fa86948120e9ad924160e025e9ec3073a4622b5
parent2acf15de0de6cb42e1dcf08b15a686e05c62b08e (diff)
downloadprofani-tty-2fd9e788a9362637d2c725093fc86d303608388e.tar.gz
Removed cons_good_show
-rw-r--r--command.c2
-rw-r--r--jabber.c2
-rw-r--r--windows.c6
-rw-r--r--windows.h1
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);