Ticket #21: ctrl-backsl-de-fix.diff

File ctrl-backsl-de-fix.diff, 511 bytes (added by slavazanko, 11 years ago)

added by ossi

Line 
1Index: key.c
2===================================================================
3RCS file: /cvsroot/mc/mc/src/key.c,v
4retrieving revision 1.84
5diff -U2 -r1.84 key.c
6--- key.c       25 Aug 2005 20:36:40 -0000      1.84
7+++ key.c       21 Sep 2005 17:12:26 -0000
8 /* Linux console keyboard modifiers */
9@@ -1361,5 +1361,5 @@
10        if (modifiers & SHIFT_PRESSED)
11            result |= KEY_M_SHIFT;
12-       if (modifiers & (ALTL_PRESSED | ALTR_PRESSED))
13+       if (modifiers & ALTL_PRESSED)
14            result |= KEY_M_ALT;
15        if (modifiers & CONTROL_PRESSED)