diff options
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3004,7 +3004,11 @@ static const char * formatter_parse_mirc_color (struct formatter *self, const char *s) { if (!isdigit_ascii (*s)) + { + FORMATTER_ADD_ITEM (self, FG_COLOR, .color = -1); + FORMATTER_ADD_ITEM (self, BG_COLOR, .color = -1); return s; + } int fg = *s++ - '0'; if (isdigit_ascii (*s)) |