View | Details | Raw Unified | Return to bug 193192
Collapse All | Expand All

(-)src/bsd_KbdMap.c (-1 / +1 lines)
Lines 29-35 Link Here
29
29
30
#if (defined(SYSCONS_SUPPORT) || defined(PCVT_SUPPORT)) && defined(GIO_KEYMAP)
30
#if (defined(SYSCONS_SUPPORT) || defined(PCVT_SUPPORT)) && defined(GIO_KEYMAP)
31
#define KD_GET_ENTRY(i,n) \
31
#define KD_GET_ENTRY(i,n) \
32
  eascii_to_x[((keymap.key[i].spcl << (n+1)) & 0x100) + keymap.key[i].map[n]]
32
  keymap.key[i].map[n] < 0x100 ? eascii_to_x[((keymap.key[i].spcl << (n+1)) & 0x100) + keymap.key[i].map[n]] : 0;
33
33
34
static unsigned char remap[NUM_KEYCODES] = {
34
static unsigned char remap[NUM_KEYCODES] = {
35
     0, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,   /* 0x00 - 0x07 */
35
     0, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,   /* 0x00 - 0x07 */

Return to bug 193192