From: Simon Ruderich <simon@ruderich.org>
Date: Sun, 9 Jun 2013 14:26:36 +0000 (+0200)
Subject: constants.h: Use "\033" instead of the non-standard "\e".
X-Git-Tag: 0.1~96
X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=30876b212cf0d143fcb7098b8968eb4f6c67c5a8;p=coloredstderr%2Fcoloredstderr.git

constants.h: Use "\033" instead of the non-standard "\e".
---

diff --git a/src/constants.h b/src/constants.h
index 66fe03f..f76f78f 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -27,8 +27,8 @@
 #define ENV_NAME_FORCE_WRITE "COLORED_STDERR_FORCE_WRITE"
 
 /* Strings written before/after each matched function. */
-#define DEFAULT_PRE_STRING "\e[91m"
-#define DEFAULT_POST_STRING "\e[0m"
+#define DEFAULT_PRE_STRING "\033[91m"
+#define DEFAULT_POST_STRING "\033[0m"
 
 /* Number of elements to allocate statically. Highest descriptor observed in
  * normal use was 255 (by bash), which yielded this limit to prevent