Skip to content

Commit

Permalink
Update hdl_dump.c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps authored May 23, 2024
1 parent f8175f8 commit 902ac0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdl_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ progress_cb(progress_t *pgs, /*@unused@*/ void *data)
if (pgs->remaining != -1) {
fprintf(stdout, "[");
pos = barWidth * (pgs->pc_completed);
for (int i; i < barWidth; ++i) {
for (i = 0; i < barWidth; ++i) {
if (i < pos)
fprintf(stdout, "=");
else if (i == pos)
Expand Down

0 comments on commit 902ac0d

Please sign in to comment.