From: ak1 Date: Mon, 21 Mar 2005 12:16:05 +0000 (+0000) Subject: Andreas Krennmair: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=68d3f8c8e978c7acfcd115d9a3e895cf0fc4f71e;ds=sidebyside 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 --- 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) {