summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-01 00:07:51 -0400
committermidipix <writeonce@midipix.org>2016-05-01 00:07:51 -0400
commitec2692d842bf776b2f47c5e926bee25c44a2a806 (patch)
tree2f21d19c02cc4199261a3028e44d6f0d84154474 /src
parentb992f468001f21d9b3a83124a5eb320d41764cf4 (diff)
downloadsofort-ec2692d842bf776b2f47c5e926bee25c44a2a806.tar.bz2
sofort-ec2692d842bf776b2f47c5e926bee25c44a2a806.tar.xz
utility: version info: replace the non-portable \e with the portable \x1b.
Diffstat (limited to 'src')
-rw-r--r--src/sofort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sofort.c b/src/sofort.c
index 434820a..83f4ff5 100644
--- a/src/sofort.c
+++ b/src/sofort.c
@@ -13,9 +13,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/sofort): "
"[commit reference: %s%s%s]\n";
static const char * const sfrt_ver_color[6] = {
- "\e[1m\e[35m","\e[0m",
- "\e[1m\e[32m","\e[0m",
- "\e[1m\e[34m","\e[0m"
+ "\x1b[1m\x1b[35m","\x1b[0m",
+ "\x1b[1m\x1b[32m","\x1b[0m",
+ "\x1b[1m\x1b[34m","\x1b[0m"
};
static const char * const sfrt_ver_plain[6] = {