summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-command-prompt.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-command-prompt.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-command-prompt.c')
-rw-r--r--usr.bin/tmux/cmd-command-prompt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-command-prompt.c b/usr.bin/tmux/cmd-command-prompt.c
index df4ef5e9997..dc4e8e4c2a9 100644
--- a/usr.bin/tmux/cmd-command-prompt.c
+++ b/usr.bin/tmux/cmd-command-prompt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-command-prompt.c,v 1.10 2009/08/25 12:18:51 nicm Exp $ */
+/* $OpenBSD: cmd-command-prompt.c,v 1.11 2009/09/21 15:32:06 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -90,7 +90,7 @@ cmd_command_prompt_parse(struct cmd *self, int argc, char **argv, char **cause)
struct cmd_command_prompt_data *data;
int opt;
- self->entry->init(self, 0);
+ self->entry->init(self, KEYC_NONE);
data = self->data;
while ((opt = getopt(argc, argv, "p:t:")) != -1) {