[svn] Don't change Windows console title if quiet.

Submitted by Gisle Vanem.
This commit is contained in:
hniksic 2004-03-03 16:05:26 -08:00
parent a865004aba
commit 5c07512ec9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-04 Gisle Vanem <giva@bgnett.no>
* retr.c (fd_read_body): Don't change console title if quiet.
2004-02-25 David Fritz <zeroxdf@att.net>
* mswindows.c (set_sleep_mode): Remove argument and return value.

View File

@ -311,7 +311,7 @@ fd_read_body (int fd, FILE *out, long toread, long startpos,
if (progress)
progress_update (progress, ret, wtimer_read (timer));
#ifdef WINDOWS
if (toread > 0)
if (toread > 0 && !opt.quiet)
ws_percenttitle (100.0 *
(startpos + sum_read) / (startpos + toread));
#endif