X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fimagex.c;h=93c4d29761d89295898d212782c02b0b8381fd95;hp=7cfc91c087bb66e6914b9031fcd4f2ec3e96ae04;hb=52ce07dbc99a36a3050209b66a0aee257beda937;hpb=dfc7c08e44fcfee5def35f829551a7340e009779 diff --git a/programs/imagex.c b/programs/imagex.c index 7cfc91c0..93c4d297 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -361,7 +361,7 @@ static int imagex_progress_func(enum wimlib_progress_msg msg, info->write_streams.completed_bytes >> 20, info->write_streams.total_bytes >> 20, percent_done); - if (info->write_streams.completed_bytes == info->write_streams.total_bytes) + if (info->write_streams.completed_bytes >= info->write_streams.total_bytes) putchar('\n'); break; case WIMLIB_PROGRESS_MSG_SCAN_BEGIN: @@ -426,7 +426,7 @@ static int imagex_progress_func(enum wimlib_progress_msg msg, info->extract.completed_bytes >> 20, info->extract.total_bytes >> 20, percent_done); - if (info->extract.completed_bytes == info->extract.total_bytes) + if (info->extract.completed_bytes >= info->extract.total_bytes) putchar('\n'); break; case WIMLIB_PROGRESS_MSG_EXTRACT_DENTRY: