]> granicus.if.org Git - mutt/commitdiff
Cosmetic POP fixes from Evan DiBiase <evand@telerama.com>.
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 28 Oct 1999 08:24:17 +0000 (08:24 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 28 Oct 1999 08:24:17 +0000 (08:24 +0000)
pop.c

diff --git a/pop.c b/pop.c
index 23986e55c4ff160fdc068be7f08da08d2d689114..2ab2ca482a0bc1df79c55625ba36925bda14f40a 100644 (file)
--- a/pop.c
+++ b/pop.c
@@ -206,8 +206,8 @@ void mutt_fetchPopMail (void)
   }
   
   snprintf (msgbuf, sizeof (msgbuf),
-           msgs > 1 ? _("Reading %d new message (%d bytes)...") :
-                   _("Reading %d new messages (%d bytes)..."), msgs - last, bytes);
+           msgs > 1 ? _("Reading new messages (%d bytes)...") :
+                   _("Reading new message (%d bytes)..."), bytes);
   mutt_message (msgbuf);
 
   for (i = last + 1 ; i <= msgs ; i++)
@@ -304,7 +304,11 @@ void mutt_fetchPopMail (void)
       }
     }
 
-    mutt_message (_("%s [%d messages read]"), msgbuf, i);
+       if ( msgs > 1)
+               mutt_message (_("%s [%d of %d messages read]"), msgbuf, i, msgs);
+       else
+               mutt_message (_("%s [%d message read]"), msgbuf, msgs);
+  
   }
 
   if (msg)