Nico Golde:
[apps/madmutt.git] / buffy.c
diff --git a/buffy.c b/buffy.c
index 67800dd..c1dadeb 100644 (file)
--- 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) {