summaryrefslogtreecommitdiffstats
path: root/cmd-next-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-next-window.c')
-rw-r--r--cmd-next-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-next-window.c b/cmd-next-window.c
index 58a9ea2a..429fad20 100644
--- a/cmd-next-window.c
+++ b/cmd-next-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-next-window.c,v 1.18 2009-07-14 06:43:32 nicm Exp $ */
+/* $Id: cmd-next-window.c,v 1.19 2009-07-22 16:24:59 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -48,7 +48,7 @@ cmd_next_window_init(struct cmd *self, int key)
cmd_target_init(self, key);
data = self->data;
- if (key == KEYC_ADDESC('n'))
+ if (key == ('n' | KEYC_ESCAPE))
data->chflags |= CMD_CHFLAG('a');
}