fixed display of size

This commit is contained in:
csoler 2018-09-27 21:46:00 +02:00
parent 2610f62e41
commit e1698429de
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -1018,7 +1018,7 @@ void p3FileDatabase::getExtraFilesDirDetails(void *ref,DirectoryStorage::EntryIn
FileInfo& f(mExtraFilesCache[(int)e-1]) ; FileInfo& f(mExtraFilesCache[(int)e-1]) ;
d.hash = f.hash; d.hash = f.hash;
d.count = 0; d.count = f.size;
d.max_mtime = time(NULL); d.max_mtime = time(NULL);
d.mtime = time(NULL); d.mtime = time(NULL);
d.name = f.path; // so that the UI shows the complete path, since the parent directory is not really a directory. d.name = f.path; // so that the UI shows the complete path, since the parent directory is not really a directory.