Just to be sure.

This commit is contained in:
William McBrine
2006-12-05 10:04:22 +00:00
parent 43674801a3
commit ccf7f8c3b7
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
#include "pdcdos.h"
RCSID("$Id: pdckbd.c,v 1.65 2006/12/05 09:56:59 wmcbrine Exp $");
RCSID("$Id: pdckbd.c,v 1.66 2006/12/05 10:04:22 wmcbrine Exp $");
/************************************************************************
* Table for key code translation of function keys in keypad mode *
@@ -379,7 +379,7 @@ int PDC_get_bios_key(void)
else if (scan == 0xe0 && key == 0x2f) /* Slash */
key = PADSLASH;
else if (key == 0x00 || (key == 0xe0 && scan > 53 && scan != 86))
key = key_table[scan & 0x7f];
key = (scan & 0x80) ? -1 : key_table[scan];
if (shift_status & 3)
{

View File

@@ -35,7 +35,7 @@ static bool key_pressed = FALSE;
static int mouse_events = 0;
#endif
RCSID("$Id: pdckbd.c,v 1.70 2006/12/05 09:56:59 wmcbrine Exp $");
RCSID("$Id: pdckbd.c,v 1.71 2006/12/05 10:04:22 wmcbrine Exp $");
/************************************************************************
* Table for key code translation of function keys in keypad mode *
@@ -499,7 +499,7 @@ int PDC_get_bios_key(void)
else if (scan == 0xe0 && key == 0x2f) /* Slash */
key = PADSLASH;
else if (key == 0x00 || (key == 0xe0 && scan > 53 && scan != 86))
key = key_table[scan & 0x7f];
key = (scan & 0x80) ? -1 : key_table[scan];
if (keyInfo.fsState & (KBDSTF_LEFTSHIFT|KBDSTF_RIGHTSHIFT))
{