summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authornicm <nicm>2015-02-05 10:29:43 +0000
committernicm <nicm>2015-02-05 10:29:43 +0000
commit4946f74253de52f10beb023d4c5b88bafdb11ec4 (patch)
tree4210eaf66f9aee7998ec558ce34a1c9454ae0b71 /names.c
parente5d9ceff18e37320b9243d24204a0a79d77172e4 (diff)
Wrap all the individual format_* calls in a single format_defaults
functions.
Diffstat (limited to 'names.c')
-rw-r--r--names.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/names.c b/names.c
index 8e01d347..1ceb83c0 100644
--- a/names.c
+++ b/names.c
@@ -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);