mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Simplify appending to string options.
This commit is contained in:
2
style.c
2
style.c
@ -143,7 +143,7 @@ style_update_new(struct options *oo, const char *name, const char *newname)
|
||||
|
||||
o = options_find1(oo, newname);
|
||||
if (o == NULL)
|
||||
o = options_set_style(oo, newname, "default", 0);
|
||||
o = options_set_style(oo, newname, 0, "default");
|
||||
gc = &o->style;
|
||||
|
||||
o = options_find1(oo, name);
|
||||
|
Reference in New Issue
Block a user