diff options
author | Stefan Pöschel <github@basicmaster.de> | 2017-02-15 11:42:46 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2017-02-15 11:42:46 +0100 |
commit | 3b7b62efc4cdc2997d36dea58b13d43bfe5544da (patch) | |
tree | f698289960218429d203afd381a26cf3f3f720be /src | |
parent | bba4b5ca2f6aa376dd07f006eb9461df386a4116 (diff) | |
download | ODR-PadEnc-3b7b62efc4cdc2997d36dea58b13d43bfe5544da.tar.gz ODR-PadEnc-3b7b62efc4cdc2997d36dea58b13d43bfe5544da.tar.bz2 ODR-PadEnc-3b7b62efc4cdc2997d36dea58b13d43bfe5544da.zip |
Fix slide name coloring
Diffstat (limited to 'src')
-rw-r--r-- | src/sls.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sls.cpp b/src/sls.cpp index 0ad3123..cb6e750 100644 --- a/src/sls.cpp +++ b/src/sls.cpp @@ -357,7 +357,7 @@ bool SLSManager::encodeFile(const std::string& fname, int fidx, bool raw_slides) orig_is_jpeg = true; if (verbose) { - fprintf(stderr, "ODR-PadEnc image: '%s' (id=%d)." + fprintf(stderr, "ODR-PadEnc image: '" "\x1B[33m" "%s" "\x1B[0m" "' (id=%d)." " Original size: %zu x %zu. (%s, q=%zu, progr=%s)\n", fname.c_str(), fidx, width, height, orig_format, orig_quality, jpeg_progr ? "y" : "n"); } @@ -367,13 +367,13 @@ bool SLSManager::encodeFile(const std::string& fname, int fidx, bool raw_slides) jfif_not_png = false; if (verbose) { - fprintf(stderr, "ODR-PadEnc image: '%s' (id=%d)." + fprintf(stderr, "ODR-PadEnc image: '" "\x1B[33m" "%s" "\x1B[0m" "' (id=%d)." " Original size: %zu x %zu. (%s)\n", fname.c_str(), fidx, width, height, orig_format); } } else if (verbose) { - fprintf(stderr, "ODR-PadEnc image: '%s' (id=%d)." + fprintf(stderr, "ODR-PadEnc image: '" "\x1B[33m" "%s" "\x1B[0m" "' (id=%d)." " Original size: %zu x %zu. (%s)\n", fname.c_str(), fidx, width, height, orig_format); } @@ -394,7 +394,7 @@ bool SLSManager::encodeFile(const std::string& fname, int fidx, bool raw_slides) if (blobsize <= MAXSLIDESIZE) { if (verbose) { - fprintf(stderr, "ODR-PadEnc image: '%s' (id=%d). No resize needed: %zu Bytes\n", + fprintf(stderr, "ODR-PadEnc image: '" "\x1B[33m" "%s" "\x1B[0m" "' (id=%d). No resize needed: %zu Bytes\n", fname.c_str(), fidx, blobsize); } resize_required = false; |