summaryrefslogtreecommitdiffstats
path: root/format-draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'format-draw.c')
-rw-r--r--format-draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/format-draw.c b/format-draw.c
index 84af1145..40ba27bf 100644
--- a/format-draw.c
+++ b/format-draw.c
@@ -583,7 +583,8 @@ format_draw(struct screen_write_ctx *octx, const struct grid_cell *base,
if (style_parse(&sy, base, tmp) != 0) {
log_debug("invalid style '%s'", tmp);
free(tmp);
- return;
+ cp = end + 1;
+ continue;
}
log_debug("style '%s' -> '%s'", tmp, style_tostring(&sy));
free(tmp);