diff options
| -rw-r--r-- | src/irc.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -728,14 +728,15 @@ void list_screens(void) { scr_activate(scr_current); for(i = 0; i < MAX_SCREENS; i++) { - if(scr_status[i] != SCR_UNUSED) { - bold(); - scr_putc_active(i + '1'); - bold(); - scr_putc_active(':'); + bold(); + scr_putc_active(i + '1'); + bold(); + scr_putc_active(':'); + if(scr_status[i] == SCR_UNUSED) + scr_print_active("<unused>"); + else scr_print_active(scr_names[i]); - scr_eol_active(); - } + scr_eol_active(); } } |
