oops
authorArt Cancro <ajc@citadel.org>
Sun, 9 Oct 2005 04:34:43 +0000 (04:34 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 9 Oct 2005 04:34:43 +0000 (04:34 +0000)
webcit/iconbar.c

index cf14021835adebe2205a8a07f3f821ee1e21f89e..e2e20f128d0098a6990f476ad0371af0addac99d 100644 (file)
@@ -115,7 +115,9 @@ void do_iconbar(void) {
                if (ib_displayas != IB_PICONLY) {
                        wprintf(_("Mail"));
                        if (WC->new_mail != WC->remember_new_mail) {
-                               wprintf(" <b>(%d)</b>", WC->new_mail);
+                               if (WC->new_mail > 0) {
+                                       wprintf(" <b>(%d)</b>", WC->new_mail);
+                               }
                                WC->remember_new_mail = WC->new_mail;
                        }
                }