From c389144c2ac456c41a91d416d96df852848904a9 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 25 Sep 2000 18:09:25 +0000 Subject: [PATCH] Ping replies should have displayed always with 3 decimals git-svn-id: http://svn.irssi.org/repos/irssi/trunk@669 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/module-formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c index 52c81d18..2d0bb5e7 100644 --- a/src/fe-common/irc/module-formats.c +++ b/src/fe-common/irc/module-formats.c @@ -156,7 +156,7 @@ FORMAT_REC fecommon_irc_formats[] = { { "ctcp_reply", "CTCP %_$0%_ reply from %_$1%_%K:%n $2", 3, { 0, 0, 0 } }, { "ctcp_reply_channel", "CTCP %_$0%_ reply from %_$1%_ in channel %_$3%_%K:%n $2", 4, { 0, 0, 0, 0 } }, - { "ctcp_ping_reply", "CTCP %_PING%_ reply from %_$0%_: $1.$2 seconds", 3, { 0, 2, 2 } }, + { "ctcp_ping_reply", "CTCP %_PING%_ reply from %_$0%_: $1.$[-3.0]2 seconds", 3, { 0, 2, 2 } }, { "ctcp_requested", "%g>>> %_$0%_ %K[%g$1%K] %grequested %_$2%_ from %_$3", 4, { 0, 0, 0, 0 } }, /* ---- */