This commit is contained in:
maliakal_d 2021-09-03 17:34:55 +02:00
parent f1b31100db
commit e1ed49a843

View File

@ -1328,7 +1328,7 @@ std::vector<char> DetectorImpl::readProgrammingFile(const std::string &fname,
// print progress
int progress = (int)(((double)(dstFilePos) / srcSize) * 100);
if (oldProgress != progress) {
printf("%d%%\r", );
printf("%d%%\r", progress);
fflush(stdout);
oldProgress = progress;
}