aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2016-01-19 21:48:11 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2016-01-19 21:48:11 +0100
commitb06babbc25367908898467939a1f168780046fa8 (patch)
tree5f8ca5116139ca465cf84a0bba35089077fd6f70 /colorize.c
parent025bf75f863750d29f7c7b523c2ad92f5bb62832 (diff)
downloadcolorize-b06babbc25367908898467939a1f168780046fa8.tar.gz
colorize-b06babbc25367908898467939a1f168780046fa8.tar.bz2
Make color separator configurable
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 0ab2ad9..67a78cf 100644
--- a/colorize.c
+++ b/colorize.c
@@ -106,7 +106,13 @@
#define ALLOC_COMPLETE_PART_LINE 8
-#define COLOR_SEP_CHAR '/'
+#if defined(COLOR_SEP_CHAR_COLON)
+# define COLOR_SEP_CHAR ':'
+#elif defined(COLOR_SEP_CHAR_SLASH)
+# define COLOR_SEP_CHAR '/'
+#else
+# define COLOR_SEP_CHAR '/'
+#endif
#define DEBUG_FILE "debug.txt"