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 <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2011-08-02 14:25:01 +04:00
parent d8277f2ed9
commit d86acaa51d
1 changed files with 1 additions and 1 deletions

View File

@ -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)