Converted from DOS to UNIX format (CRLF->LF)

key_table renamed to fkt_table in key_nt.c to prevent name conflict with
slint.c
This commit is contained in:
Pavel Roskin 1998-06-08 15:29:23 +00:00
parent 29c55cee18
commit 79ddddb4ef
2 changed files with 527 additions and 527 deletions

View File

@ -48,7 +48,7 @@ int use_8th_bit_as_meta = 0;
struct { struct {
int key_code; int key_code;
int vkcode; int vkcode;
} key_table [] = { } fkt_table [] = {
{ KEY_F(1), VK_F1 }, { KEY_F(1), VK_F1 },
{ KEY_F(2), VK_F2 }, { KEY_F(2), VK_F2 },
{ KEY_F(3), VK_F3 }, { KEY_F(3), VK_F3 },
@ -118,9 +118,9 @@ static int VKtoCurses (int a_vkc)
{ {
int i; int i;
for (i = 0; key_table[i].vkcode != 0; i++) for (i = 0; fkt_table[i].vkcode != 0; i++)
if (a_vkc == key_table[i].vkcode) { if (a_vkc == fkt_table[i].vkcode) {
return key_table[i].key_code; return fkt_table[i].key_code;
} }
return 0; return 0;
} }