Only chose a file for display during the initial search that is not being appended.

This commit is contained in:
Moritz Bunkus 2005-02-20 09:27:39 +00:00
parent 059ee994a0
commit 1a37ba715b

View File

@ -388,7 +388,7 @@ display_progress() {
winner = &files[0]; winner = &files[0];
for (i = files.begin() + 1; i != files.end(); ++i) for (i = files.begin() + 1; i != files.end(); ++i)
if (i->size > winner->size) if (!i->appending && (i->size > winner->size))
winner = &(*i); winner = &(*i);
display_reader = winner->reader; display_reader = winner->reader;