From 2773b5a718666938492ee71ce6d4bccc4b006a2b Mon Sep 17 00:00:00 2001 From: "Carlos R. Mafra" Date: Mon, 21 Mar 2011 16:03:18 +0100 Subject: [PATCH] wmbiff: Display "0" when there are no new emails ...instead of displaying the total number of emails in the mailbox. On my gmail account with +16k emails, there was not enough space to display the account label. Besides, the total number of emails is useless information anyway. Signed-off-by: Carlos R. Mafra --- wmbiff-0.4.27/wmbiff/wmbiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmbiff-0.4.27/wmbiff/wmbiff.c b/wmbiff-0.4.27/wmbiff/wmbiff.c index ec28119..0623b31 100644 --- a/wmbiff-0.4.27/wmbiff/wmbiff.c +++ b/wmbiff-0.4.27/wmbiff/wmbiff.c @@ -727,7 +727,7 @@ static void blitMsgCounters(unsigned int i) BlitString(mbox[i].TextStatus, 39, y_row, newmail); } else { int mailcount = - (newmail) ? mbox[i].UnreadMsgs : mbox[i].TotalMsgs; + (newmail) ? mbox[i].UnreadMsgs : 0; BlitNum(mailcount, 45, y_row, newmail); } }