From cf211be2214d86c5709b407d8ec1691740ee0a5c Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 3 Oct 2012 22:23:22 +0100 Subject: Tidied up message remind period on prefs output --- src/windows.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/windows.c') diff --git a/src/windows.c b/src/windows.c index e4542eb9..6bdc17d1 100644 --- a/src/windows.c +++ b/src/windows.c @@ -366,15 +366,6 @@ win_show_outgoing_msg(const char * const from, const char * const to, _win_show_user(win, from, 0); _win_show_message(win, message); _win_switch_if_active(win_index); -/* - status_bar_active(win_index); - - if (win_index == _curr_prof_win) { - dirty = TRUE; - } else { - status_bar_new(win_index); - } -*/ } void @@ -489,7 +480,14 @@ cons_prefs(void) else cons_show("Chat logging : OFF"); - cons_show("Message reminder period : %d seconds", prefs_get_remind()); + gint remind_period = prefs_get_remind(); + if (remind_period == 0) { + cons_show("Message reminder period : OFF"); + } else if (remind_period == 1) { + cons_show("Message reminder period : 1 second"); + } else { + cons_show("Message reminder period : %d seconds", remind_period); + } cons_show(""); -- cgit 1.4.1-2-gfad0