From 1c73e759821dc41ff39ac81b7396913beed41ca0 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 28 Jul 2009 22:58:20 +0000 Subject: Sync OpenBSD patchset 190: Remove an unused entry in the mode keys command enum and rename MODEKEYCOPY_QUIT to _CANCEL to match the others. --- window-scroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-scroll.c') diff --git a/window-scroll.c b/window-scroll.c index d721a075..23ae6eca 100644 --- a/window-scroll.c +++ b/window-scroll.c @@ -1,4 +1,4 @@ -/* $Id: window-scroll.c,v 1.35 2009-07-28 22:55:59 tcunha Exp $ */ +/* $Id: window-scroll.c,v 1.36 2009-07-28 22:58:20 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -132,7 +132,7 @@ window_scroll_key(struct window_pane *wp, unused 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: -- cgit