Bump an upper limit test so the xterm termcap selection actually works.

This commit is contained in:
John Baldwin 2000-07-26 02:51:47 +00:00
parent 56b0238f1d
commit e8aeec4639
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ prompt_term(char **termp, char **termcapp)
fflush(stdout);
fgets(str, 80, stdin);
i = str[0] - '0';
if (i > 0 && i < 5) {
if (i > 0 && i < 6) {
*termp = (char *)lookup[i - 1].term;
*termcapp = (char *)lookup[i - 1].termcap;
break;

View File

@ -50,7 +50,7 @@ prompt_term(char **termp, char **termcapp)
fflush(stdout);
fgets(str, 80, stdin);
i = str[0] - '0';
if (i > 0 && i < 5) {
if (i > 0 && i < 6) {
*termp = (char *)lookup[i - 1].term;
*termcapp = (char *)lookup[i - 1].termcap;
break;

View File

@ -50,7 +50,7 @@ prompt_term(char **termp, char **termcapp)
fflush(stdout);
fgets(str, 80, stdin);
i = str[0] - '0';
if (i > 0 && i < 5) {
if (i > 0 && i < 6) {
*termp = (char *)lookup[i - 1].term;
*termcapp = (char *)lookup[i - 1].termcap;
break;