From 22e29a30762b3b678bfa9d62de318f3a584ec568 Mon Sep 17 00:00:00 2001 From: Emin Kokalari Date: Mon, 3 Nov 2025 16:56:38 +0100 Subject: [PATCH] Update split.c Enhanced the ping times from Int to Float values --- ui/split.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/split.c b/ui/split.c index 60520e8..f8c250c 100644 --- a/ui/split.c +++ b/ui/split.c @@ -102,10 +102,10 @@ void split_redraw( name = str; } /* May be we should test name's length */ - snprintf(newLine, sizeof(newLine), "%s %d %d %d %d %d %d", + snprintf(newLine, sizeof(newLine), "%s %d %d %d %.1f %.1f %.1f", name, net_loss(at), net_returned(at), net_xmit(at), - net_best(at) / 1000, net_avg(at) / 1000, - net_worst(at) / 1000); + net_best(at) / 1000.0, net_avg(at) / 1000.0, + net_worst(at) / 1000.0); } else { snprintf(newLine, sizeof(newLine), "???"); } -- 2.47.3