summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-30 18:18:40 -0400
committermidipix <writeonce@midipix.org>2016-04-30 18:27:41 -0400
commit520f0836a6394bb93a6667769980215990ddf3b7 (patch)
treee6fb2243a029e8471643708bb5213191c199ec00
parent87ab8bd0c14ea337290300b1b16d4dc0eca6ede9 (diff)
downloadslibtool-520f0836a6394bb93a6667769980215990ddf3b7.tar.bz2
slibtool-520f0836a6394bb93a6667769980215990ddf3b7.tar.xz
utility: version info: replace the non-portable \e with the portable \x1b.
-rw-r--r--src/slibtool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slibtool.c b/src/slibtool.c
index 79e6f0e..46ae8fb 100644
--- a/src/slibtool.c
+++ b/src/slibtool.c
@@ -20,9 +20,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/slibtool): "
"[commit reference: %s%s%s]\n";
static const char * const slbt_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 slbt_ver_plain[6] = {