Blob Blame History Raw
From: Moritz Bunkus <moritz@bunkus.org>
Date: Sun, 18 Jan 2009 18:59:55 +0000 (+0100)
Subject: Removed extra % from output
X-Git-Url: https://www.bunkus.org/cgi-bin/gitweb.cgi?p=mkvtoolnix.git;a=commitdiff_plain;h=cdcb7a3f03285cf815db95a5b715a98b2718da82

Removed extra % from output

The strings are not passed through boost::filter; therefore one % is enough.
---

diff --git a/src/extract/mkvextract.cpp b/src/extract/mkvextract.cpp
index 03f6aef..6b2eac0 100644
--- a/src/extract/mkvextract.cpp
+++ b/src/extract/mkvextract.cpp
@@ -356,7 +356,7 @@ main(int argc,
     extract_tracks(input_file.c_str(), tracks);
 
     if (0 == verbose)
-      mxinfo(Y("Progress: 100%%\n"));
+      mxinfo(Y("Progress: 100%\n"));
 
   } else if (MODE_TAGS == mode)
     extract_tags(input_file.c_str(), s_parse_fully);
diff --git a/src/extract/timecodes_v2.cpp b/src/extract/timecodes_v2.cpp
index 175fa32..782f809 100644
--- a/src/extract/timecodes_v2.cpp
+++ b/src/extract/timecodes_v2.cpp
@@ -355,7 +355,7 @@ extract_timecodes(const string &file_name,
     close_timecode_files();
 
     if (0 == verbose)
-      mxinfo(Y("Progress: 100%%\n"));
+      mxinfo(Y("Progress: 100%\n"));
 
   } catch (...) {
     show_error(Y("Caught exception"));