summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-new-session.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-09-21 15:32:07 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-09-21 15:32:07 +0000
commita0fa551cc35a9e319156ba2edb76ba14c590e83b (patch)
tree5a392d03752ab5bf948d06cc2c326cec049abcba /usr.bin/tmux/cmd-new-session.c
parentd2566b9673eedbd2829ac7e19a49c05013728e22 (diff)
Use KEYC_NONE constant instead of 0 on init.
Diffstat (limited to 'usr.bin/tmux/cmd-new-session.c')
-rw-r--r--usr.bin/tmux/cmd-new-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-new-session.c b/usr.bin/tmux/cmd-new-session.c
index adba608fcf8..d85fd834196 100644
--- a/usr.bin/tmux/cmd-new-session.c
+++ b/usr.bin/tmux/cmd-new-session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-new-session.c,v 1.19 2009/09/16 12:35:04 nicm Exp $ */
+/* $OpenBSD: cmd-new-session.c,v 1.20 2009/09/21 15:32:06 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -69,7 +69,7 @@ cmd_new_session_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_new_session_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "ds:n:")) != -1) {