summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/names.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-02-05 10:29:43 +0000
committernicm <nicm@openbsd.org>2015-02-05 10:29:43 +0000
commitf426771eab9e2362a30890108867d3e8ac72113a (patch)
treea29c739b6286417a527b2a9ab5372ba4fa486e28 /usr.bin/tmux/names.c
parentimplement SIOCIFAFATTACH and SIOCIFAFDETACH for AF_INET (diff)
downloadwireguard-openbsd-f426771eab9e2362a30890108867d3e8ac72113a.tar.xz
wireguard-openbsd-f426771eab9e2362a30890108867d3e8ac72113a.zip
Wrap all the individual format_* calls in a single format_defaults
functions.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r--usr.bin/tmux/names.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c
index c3101501148..29bc2c4473b 100644
--- a/usr.bin/tmux/names.c
+++ b/usr.bin/tmux/names.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: names.c,v 1.23 2014/05/13 08:08:32 nicm Exp $ */
+/* $OpenBSD: names.c,v 1.24 2015/02/05 10:29:43 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);