convert.c: replace "\e" escapes with "\033".

The "\e" escape is not defined in ISO C. While on this line, add a missing space after the comma. Signed-off-by: Beat Bolli <dev+git@drbeat.li> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Beat Bolli committed Jul 9, 2018 at 21:25 UTC 8302f50e8ce687fbb09d8639ef87c0d35fd671b9
1 file changed +1 -1
convert.c
+1 -1
@@ -334,7 +334,7 @@ static void trace_encoding(const char *context, const char *path,
334 strbuf_addf(&trace, "%s (%s, considered %s):\n", context, path, encoding);
335 for (i = 0; i < len && buf; ++i) {
336 strbuf_addf(
337 - &trace,"| \e[2m%2i:\e[0m %2x \e[2m%c\e[0m%c",
337 + &trace, "| \033[2m%2i:\033[0m %2x \033[2m%c\033[0m%c",
338 i,
339 (unsigned char) buf[i],
340 (buf[i] > 32 && buf[i] < 127 ? buf[i] : ' '),