summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-11-27 09:20:03 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-11-27 09:20:03 +0000
commit991bfcf443de261dfe9be35f9c4d26731f8a2dff (patch)
tree2df66ba6e93a2dbb64c9776c45c97d42a9a295f3 /names.c
parentd762ced298c35d58524433cacb08c5d0a7364f96 (diff)
Fix session choice so that preferring unattached sessions actually
works, reported by Drew Frank.
Diffstat (limited to 'names.c')
-rw-r--r--names.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/names.c b/names.c
index 46708bce..1eb6a675 100644
--- a/names.c
+++ b/names.c
@@ -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);
}