From 68d3f8c8e978c7acfcd115d9a3e895cf0fc4f71e Mon Sep 17 00:00:00 2001 From: ak1 Date: Mon, 21 Mar 2005 12:16:05 +0000 Subject: [PATCH] Andreas Krennmair: fixed behaviour when generating the "New mail in ..." string so that "..." won't be shown at the end anymore unless the complete list really doesn't fit on the screen anymore. This seems to have been a relic of the list->array transition. git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@219 e385b8ad-14ed-0310-8656-cc95a2468c6d --- buffy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffy.c b/buffy.c index 67800dd..c1dadeb 100644 --- a/buffy.c +++ b/buffy.c @@ -588,7 +588,7 @@ int mutt_buffy_list (void) first = 0; } } - if (!first && tmp) { + if (!first && i < Incoming->length) { strncat (buffylist + pos, ", ...", sizeof (buffylist) - 1 - pos); /* __STRNCAT_CHECKED__ */ } if (!first) { -- 2.20.1