X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/55082519de9856316e1cf0dbb226a33bdfe47085..577b1ba98153bf30baf579398de628865d847bc0:/usr/src/usr.bin/tn3270/tools/mkastosc/mkastosc.c diff --git a/usr/src/usr.bin/tn3270/tools/mkastosc/mkastosc.c b/usr/src/usr.bin/tn3270/tools/mkastosc/mkastosc.c index 8973ef6c7b..dbd1fbb2a3 100644 --- a/usr/src/usr.bin/tn3270/tools/mkastosc/mkastosc.c +++ b/usr/src/usr.bin/tn3270/tools/mkastosc/mkastosc.c @@ -17,7 +17,7 @@ */ #include -#include +#include #include #define LETS_SEE_ASCII @@ -83,7 +83,7 @@ char *argv[]; for (i = 0; i < 4; i++) { if (ph->hit[i].ctlrfcn == FCN_CHARACTER) { c = Ph->name[i][0]; /* "name" of this one */ - if (tbl[c].shift[0] == 0) { + if ((tbl[c].shift == 0) || (tbl[c].shift[0] == 0)) { tbl[c].shift = shiftof[i]; tbl[c].scancode = scancode; }