summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-if-shell.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-09-21 15:32:06 +0000
committernicm <nicm@openbsd.org>2009-09-21 15:32:06 +0000
commitdcab69801ca2ee70a610d3fcbf5d65d2a7568915 (patch)
tree285d0b5ad93b1c2aaa95b5049af0efa9e879340c /usr.bin/tmux/cmd-if-shell.c
parentNuke -i option which isn't used anymore. (diff)
downloadwireguard-openbsd-dcab69801ca2ee70a610d3fcbf5d65d2a7568915.tar.xz
wireguard-openbsd-dcab69801ca2ee70a610d3fcbf5d65d2a7568915.zip
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) {