summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-01 00:02:41 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:40 -0500
commit525f80ca026b1eab958310083876e85b5afff6ff (patch)
tree7afdbd01c2f3f0541b14bc957ecadc65ae7d03ac /src
parent0bb4f565c0f2de5d6eadea93ff5797b4d68bef42 (diff)
downloadmdso-525f80ca026b1eab958310083876e85b5afff6ff.tar.bz2
mdso-525f80ca026b1eab958310083876e85b5afff6ff.tar.xz
utility: version info: replace the non-portable \e with the portable \x1b.
Diffstat (limited to 'src')
-rw-r--r--src/mdso.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mdso.c b/src/mdso.c
index a89578d..a036517 100644
--- a/src/mdso.c
+++ b/src/mdso.c
@@ -20,9 +20,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/mdso): "
"[commit reference: %s%s%s]\n";
static const char * const mdso_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 mdso_ver_plain[6] = {