From c6b844685b14443d6ba38f2869d6d09f570848a5 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Fri, 17 Feb 2017 15:52:16 +0800 Subject: [PATCH] Handle duplicate hosts without visual corruption --- src/oping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oping.c b/src/oping.c index 35e2420..47249b5 100644 --- a/src/oping.c +++ b/src/oping.c @@ -1376,7 +1376,7 @@ static int check_resize (pingobj_t *ping) /* {{{ */ /* FIXME - scroll main_win correctly so that old * data is still visible */ need_resize = 1; - host_num++; + host_num = ping_iterator_count(ping); ping_initialize_contexts(ping); } } -- 2.30.2