don't show padding files

This commit is contained in:
Arvid Norberg 2009-01-11 20:28:34 +00:00
parent 97e3d9f709
commit ab09424d8a
1 changed files with 1 additions and 0 deletions

View File

@ -1561,6 +1561,7 @@ int main(int ac, char* av[])
torrent_info const& info = h.get_torrent_info();
for (int i = 0; i < info.num_files(); ++i)
{
if (info.file_at(i).pad_file) continue;
float progress = info.file_at(i).size > 0
?float(file_progress[i]) / info.file_at(i).size:1;
if (file_progress[i] == info.file_at(i).size)