aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-02-15 11:42:46 +0100
committerStefan Pöschel <github@basicmaster.de>2017-02-15 11:42:46 +0100
commit3b7b62efc4cdc2997d36dea58b13d43bfe5544da (patch)
treef698289960218429d203afd381a26cf3f3f720be /src
parentbba4b5ca2f6aa376dd07f006eb9461df386a4116 (diff)
downloadODR-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.cpp8
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;