From c1acfb4341a57ba4f345bef40d7f125f873c3e27 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 28 Apr 2020 17:27:07 +0100 Subject: Start with style initialized to default. --- options.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/options.c b/options.c index 7a00dc90..39a0d08f 100644 --- a/options.c +++ b/options.c @@ -850,7 +850,9 @@ options_string_to_style(struct options *oo, const char *name, s = o->value.string; log_debug("%s: %s is '%s'", __func__, name, s); + style_set(&o->style, &grid_default_cell); o->cached = (strstr(s, "#{") == NULL); + if (ft != NULL && !o->cached) { expanded = format_expand(ft, s); if (style_parse(&o->style, &grid_default_cell, expanded) != 0) { -- cgit