mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue