mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 15:29:04 +00:00
Print progress bar in index module
This commit is contained in:
@@ -88,7 +88,7 @@ void progress_bar_print(double percentage, size_t tn_size, size_t index_size) {
|
||||
|
||||
static int last_val = -1;
|
||||
int val = (int) (percentage * 100);
|
||||
if (last_val == val || val > 100 || index_size < 1024) {
|
||||
if (last_val == val || val > 100) {
|
||||
return;
|
||||
}
|
||||
last_val = val;
|
||||
|
||||
Reference in New Issue
Block a user