From ad8206864f98d0f15aa47f90d550aaca3693b449 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 30 May 2000 21:01:33 +0000 Subject: [PATCH] When showing progress meter, don't show percentage when amount read is either zero or the total amount. This causes the display to flicker and provides no useful information. --- v7/src/imail/imail-top.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/imail/imail-top.scm b/v7/src/imail/imail-top.scm index ebe5238ae..7887c1caf 100644 --- a/v7/src/imail/imail-top.scm +++ b/v7/src/imail/imail-top.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-top.scm,v 1.113 2000/05/30 20:21:33 cph Exp $ +;;; $Id: imail-top.scm,v 1.114 2000/05/30 21:01:33 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -257,7 +257,7 @@ regardless of the folder type." v))))) (define (imail-progress-meter current total) - (if (and *imail-message-wrapper-prefix* (<= 0 current total)) + (if (and *imail-message-wrapper-prefix* (< 0 current total)) (message *imail-message-wrapper-prefix* (string-pad-left (number->string (round->exact (* (/ current total) 100))) -- 2.25.1