diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-28 17:27:07 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-28 17:27:07 +0100 |
commit | c1acfb4341a57ba4f345bef40d7f125f873c3e27 (patch) | |
tree | 80ef0a8e8f7495f56da9e74f17a542f23858990b | |
parent | 1f8256fc508bbee24b53fcd588ebf74653d69dfa (diff) | |
download | rtmux-c1acfb4341a57ba4f345bef40d7f125f873c3e27.tar.gz rtmux-c1acfb4341a57ba4f345bef40d7f125f873c3e27.tar.bz2 rtmux-c1acfb4341a57ba4f345bef40d7f125f873c3e27.zip |
Start with style initialized to default.
-rw-r--r-- | options.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |