diff options
author | 2015-10-27 15:58:42 +0000 | |
---|---|---|
committer | 2015-10-27 15:58:42 +0000 | |
commit | d89252e541ebb5e90a6b7e1089b8f396e19ca235 (patch) | |
tree | 6fd0ce863c715f2818c48c94c4f8de9afdb057e9 /usr.bin/tmux/names.c | |
parent | Use AF_UNIX instead of AF_LOCAL. (diff) | |
download | wireguard-openbsd-d89252e541ebb5e90a6b7e1089b8f396e19ca235.tar.xz wireguard-openbsd-d89252e541ebb5e90a6b7e1089b8f396e19ca235.zip |
Move struct options into options.c.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r-- | usr.bin/tmux/names.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c index 398e6911ca1..a4ccb19c511 100644 --- a/usr.bin/tmux/names.c +++ b/usr.bin/tmux/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.29 2015/08/29 00:29:15 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.30 2015/10/27 15:58:42 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -58,7 +58,7 @@ check_window_name(struct window *w) if (w->active == NULL) return; - if (!options_get_number(&w->options, "automatic-rename")) + if (!options_get_number(w->options, "automatic-rename")) return; if (~w->active->flags & PANE_CHANGED) { @@ -122,7 +122,7 @@ format_window_name(struct window *w) format_defaults_window(ft, w); format_defaults_pane(ft, w->active); - fmt = options_get_string(&w->options, "automatic-rename-format"); + fmt = options_get_string(w->options, "automatic-rename-format"); name = format_expand(ft, fmt); format_free(ft); |