diff options
author | nicm <nicm> | 2019-03-20 07:24:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-20 07:24:03 +0000 |
commit | ae46a19b8e2bafd7c3fc5cba99b9f430c8cf9b1c (patch) | |
tree | fbd6ca7948598103a05966b42131993edc09d4c3 | |
parent | 3b959c05ffe2173bf0fb22ca0d3dd6461d12f173 (diff) | |
download | rtmux-ae46a19b8e2bafd7c3fc5cba99b9f430c8cf9b1c.tar.gz rtmux-ae46a19b8e2bafd7c3fc5cba99b9f430c8cf9b1c.tar.bz2 rtmux-ae46a19b8e2bafd7c3fc5cba99b9f430c8cf9b1c.zip |
Ignore invalid styles rather than throwing away the whole format, this
matches what we used to do.
-rw-r--r-- | format-draw.c | 3 |
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); |