summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-01 00:04:39 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:43 -0500
commit4527386c231cae18e1ca0a99987418d78e613275 (patch)
tree794e12b40d98022f7e325cd3e80355f17f8b67b8 /src
parent8435a6e9b91eb4f479a65a64a1a7761da4633a99 (diff)
downloadperk-4527386c231cae18e1ca0a99987418d78e613275.tar.bz2
perk-4527386c231cae18e1ca0a99987418d78e613275.tar.xz
utility: version info: replace the non-portable \e with the portable \x1b.
Diffstat (limited to 'src')
-rw-r--r--src/perk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/perk.c b/src/perk.c
index 9c311b4..b19ee0c 100644
--- a/src/perk.c
+++ b/src/perk.c
@@ -20,9 +20,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/perk): "
"[commit reference: %s%s%s]\n";
static const char * const pe_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 pe_ver_plain[6] = {