4215cfb1cf4708be0426ea87ef1d13b18f272b7d — Stephen Gregoratto 7 months ago 1c6cbcf
Replace non-standard escape sequence with char equivalent.

Fixes error messages generated from compiling with -Wall -Werror
-Wpedantic.
1 files changed, 1 insertions(+), 1 deletions(-)

M highlight.c
M highlight.c => highlight.c +1 -1
@@ 51,7 51,7 @@ ++state->fmt_stack_len;
  	}
  
- 	fprintf(stdout, "\e[%dm", fmt);
+ 	fprintf(stdout, "%c[%dm", 0x1B, fmt);
  }
  
  static void highlight_str(struct highlight_state *state,