summaryrefslogtreecommitdiffstats
path: root/cmd-copy-mode.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 21:36:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 21:36:51 +0000
commit95cc21c25180d0f2e7b488983e3078834343d162 (patch)
tree5a934b9788ab33cd06d41c3216ab7524bf464766 /cmd-copy-mode.c
parent259dcbbc9326689ab7e982a73ebbeff947f7260f (diff)
Quick man page update, also fix some usages and get rid of some CMD_KEY checks.
Diffstat (limited to 'cmd-copy-mode.c')
-rw-r--r--cmd-copy-mode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-copy-mode.c b/cmd-copy-mode.c
index 84d5c748..7c2246ec 100644
--- a/cmd-copy-mode.c
+++ b/cmd-copy-mode.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-copy-mode.c,v 1.5 2008-06-02 18:08:16 nicm Exp $ */
+/* $Id: cmd-copy-mode.c,v 1.6 2008-06-02 21:36:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -48,8 +48,7 @@ cmd_copy_mode_exec(unused void *ptr, struct cmd_ctx *ctx)
if ((s = cmd_sessiononly_get(ptr, ctx)) == NULL)
return;
- if (ctx->flags & CMD_KEY)
- window_set_mode(s->curw->window, &window_copy_mode);
+ window_set_mode(s->curw->window, &window_copy_mode);
if (ctx->cmdclient != NULL)
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);