From df3f7be471421d70a7a094f8c1ba0e74d33eb00c Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 30 Dec 2013 18:13:36 -0600 Subject: [PATCH] imagex_progress_func(): Fix variable --- programs/imagex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/imagex.c b/programs/imagex.c index 9569a255..d64f2e04 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -1102,15 +1102,15 @@ imagex_progress_func(enum wimlib_progress_msg msg, switch (msg) { case WIMLIB_PROGRESS_MSG_WRITE_STREAMS: { - static bool first = false; - if (!first) { + static bool first = true; + if (first) { imagex_printf(T("Writing %"TS"-compressed data " "using %u thread%"TS"\n"), wimlib_get_compression_type_string( info->write_streams.compression_type), info->write_streams.num_threads, (info->write_streams.num_threads == 1) ? T("") : T("s")); - first = true; + first = false; } } unit_shift = get_unit(info->write_streams.total_bytes, &unit_name); -- 2.43.0