Sync OpenBSD patchset 190:

Remove an unused entry in the mode keys command enum and rename
MODEKEYCOPY_QUIT to _CANCEL to match the others.
This commit is contained in:
Tiago Cunha
2009-07-28 22:58:20 +00:00
parent 920b9c5872
commit 1c73e75982
4 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $Id: window-copy.c,v 1.69 2009-07-28 22:55:59 tcunha Exp $ */
/* $Id: window-copy.c,v 1.70 2009-07-28 22:58:20 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -168,7 +168,7 @@ window_copy_key(struct window_pane *wp, struct client *c, int key)
struct screen *s = &data->screen;
switch (mode_key_lookup(&data->mdata, key)) {
case MODEKEYCOPY_QUIT:
case MODEKEYCOPY_CANCEL:
window_pane_reset_mode(wp);
break;
case MODEKEYCOPY_LEFT: