mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
/NOTIFY -list displays now "-idle" before the actual idle time..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@489 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ff706b45b9
commit
8828b8cedd
@ -139,12 +139,12 @@ static void cmd_notify_show(void)
|
||||
|
||||
static void notifylist_print(NOTIFYLIST_REC *rec)
|
||||
{
|
||||
char idle[MAX_INT_STRLEN], *ircnets;
|
||||
char idle[10+MAX_INT_STRLEN], *ircnets;
|
||||
|
||||
if (rec->idle_check_time <= 0)
|
||||
idle[0] = '\0';
|
||||
else
|
||||
g_snprintf(idle, sizeof(idle), "%d", rec->idle_check_time);
|
||||
g_snprintf(idle, sizeof(idle), "-idle %d", rec->idle_check_time);
|
||||
|
||||
ircnets = rec->ircnets == NULL ? NULL :
|
||||
g_strjoinv(",", rec->ircnets);
|
||||
|
Loading…
Reference in New Issue
Block a user