Ignore invalid styles rather than throwing away the whole format, this

matches what we used to do.
pull/1644/head
nicm 2019-03-20 07:24:03 +00:00
parent 3b959c05ff
commit ae46a19b8e
1 changed files with 2 additions and 1 deletions

View File

@ -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);