From d86acaa51d5af0ff63748bc8cd2ac8bdaf3931ad Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 2 Aug 2011 14:25:01 +0400 Subject: [PATCH] Extended shortcuts like 'ctrl-x x' are unavailable in editor. Extended shortcuts like 'ctrl-x ctrl-x' or 'ctrl-x alt-x' are available in editor, but 'ctrl-x x' are not. Signed-off-by: Andrew Borodin --- src/editor/editkeys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/editkeys.c b/src/editor/editkeys.c index bc41dad56..b4e58ec52 100644 --- a/src/editor/editkeys.c +++ b/src/editor/editkeys.c @@ -79,7 +79,7 @@ edit_translate_key (WEdit * edit, long x_key, int *cmd, int *ch) int c; /* an ordinary insertable character */ - if (x_key < 256) + if (!edit->extmod && x_key < 256) { #ifdef HAVE_CHARSET if (edit->charpoint >= 4) -- 2.11.4.GIT