diff options
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -211,3 +211,8 @@ int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...) va_end(args); return r; } + +int color_is_nil(const char *c) +{ + return !strcmp(c, "NIL"); +} |