summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-if-shell.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-if-shell.c
parentd2566b9673eedbd2829ac7e19a49c05013728e22 (diff)
Use KEYC_NONE constant instead of 0 on init.
Diffstat (limited to 'usr.bin/tmux/cmd-if-shell.c')
-rw-r--r--usr.bin/tmux/cmd-if-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-if-shell.c b/usr.bin/tmux/cmd-if-shell.c
index 77435382551..4685fb2dec4 100644
--- a/usr.bin/tmux/cmd-if-shell.c
+++ b/usr.bin/tmux/cmd-if-shell.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-if-shell.c,v 1.3 2009/07/26 12:58:44 nicm Exp $ */
+/* $OpenBSD: cmd-if-shell.c,v 1.4 2009/09/21 15:32:06 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -66,7 +66,7 @@ cmd_if_shell_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_if_shell_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "")) != -1) {