Wrap all the individual format_* calls in a single format_defaults

functions.
This commit is contained in:
nicm
2015-02-05 10:29:43 +00:00
parent e5d9ceff18
commit 4946f74253
23 changed files with 78 additions and 109 deletions

View File

@ -86,8 +86,8 @@ format_window_name(struct window *w)
char *fmt, *name;
ft = format_create();
format_window(ft, w);
format_window_pane(ft, w->active);
format_defaults_window(ft, w);
format_defaults_pane(ft, w->active);
fmt = options_get_string(&w->options, "automatic-rename-format");
name = format_expand(ft, fmt);