diff options
author | midipix <writeonce@midipix.org> | 2016-04-30 23:58:46 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-30 23:58:46 -0400 |
commit | 59a248c4e2bc12912766414254d880f43050b469 (patch) | |
tree | 2bc52bdae46782e669157c6a91949e570650e0db /src | |
parent | e0b135b6c155f55d93161b39368a0241890ae152 (diff) | |
download | apimagic-59a248c4e2bc12912766414254d880f43050b469.tar.bz2 apimagic-59a248c4e2bc12912766414254d880f43050b469.tar.xz |
utility: version info: replace the non-portable \e with the portable \x1b.
Diffstat (limited to 'src')
-rw-r--r-- | src/apimagic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apimagic.c b/src/apimagic.c index 0303949..db25686 100644 --- a/src/apimagic.c +++ b/src/apimagic.c @@ -19,9 +19,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/apimagic): " "[commit reference: %s%s%s]\n"; static const char * const amgc_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 amgc_ver_plain[6] = { |