summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/names.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-11-27 09:20:03 +0000
committernicm <nicm@openbsd.org>2012-11-27 09:20:03 +0000
commitd030975780bbbfacc07e3bd16f763df90b065d33 (patch)
tree066d617fa5425545b721adb0a4ea4d5c90c3e742 /usr.bin/tmux/names.c
parentFix type typo (diff)
downloadwireguard-openbsd-d030975780bbbfacc07e3bd16f763df90b065d33.tar.xz
wireguard-openbsd-d030975780bbbfacc07e3bd16f763df90b065d33.zip
Fix session choice so that preferring unattached sessions actually
works, reported by Drew Frank.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r--usr.bin/tmux/names.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c
index 7430a345d42..ccf7f603a54 100644
--- a/usr.bin/tmux/names.c
+++ b/usr.bin/tmux/names.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: names.c,v 1.17 2012/08/21 10:00:33 nicm Exp $ */
+/* $OpenBSD: names.c,v 1.18 2012/11/27 09:20:03 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -76,7 +76,7 @@ window_name_callback(unused int fd, unused short events, void *data)
name != NULL && name[0] == '-' && name[1] != '\0')
wname = parse_window_name(name + 1);
else
- wname = parse_window_name(name);
+ wname = parse_window_name(name);
free(name);
}