]> git.refcnt.org Git - colorize.git/commitdiff
Make color separator configurable
authorSteven Schubiger <stsc@refcnt.org>
Tue, 19 Jan 2016 20:48:11 +0000 (21:48 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Tue, 19 Jan 2016 20:48:11 +0000 (21:48 +0100)
colorize.c

index 0ab2ad9926a8a5f4eac3552011340b9057b8047e..67a78cffccebe5a7cf4738216371df74800bb806 100644 (file)
 
 #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"