| File src/compare.c changed (mode: 100644) (index 290ce2a8c..334eaa02b) |
| ... |
... |
make_diff_list(trie_t *trie, FileView *view, int *next_id, CompareType ct, |
| 505 |
505 |
show_progress("Querying...", 0); |
show_progress("Querying...", 0); |
| 506 |
506 |
for(i = 0; i < files.nitems && !ui_cancellation_requested(); ++i) |
for(i = 0; i < files.nitems && !ui_cancellation_requested(); ++i) |
| 507 |
507 |
{ |
{ |
| 508 |
|
char progress_msg[128]; |
|
| 509 |
508 |
int progress; |
int progress; |
| 510 |
509 |
int existing_id; |
int existing_id; |
| 511 |
510 |
char *fingerprint; |
char *fingerprint; |
| |
| ... |
... |
make_diff_list(trie_t *trie, FileView *view, int *next_id, CompareType ct, |
| 552 |
551 |
progress = (i*100)/files.nitems; |
progress = (i*100)/files.nitems; |
| 553 |
552 |
if(progress != last_progress) |
if(progress != last_progress) |
| 554 |
553 |
{ |
{ |
|
554 |
|
char progress_msg[128]; |
|
555 |
|
|
| 555 |
556 |
last_progress = progress; |
last_progress = progress; |
| 556 |
557 |
snprintf(progress_msg, sizeof(progress_msg), "Querying... %d (% 2d%%)", i, |
snprintf(progress_msg, sizeof(progress_msg), "Querying... %d (% 2d%%)", i, |
| 557 |
558 |
progress); |
progress); |