diff options
author | jhb <jhb@FreeBSD.org> | 2000-07-26 02:51:47 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-07-26 02:51:47 +0000 |
commit | d2ae8075f6713abaac375072d77376110b146400 (patch) | |
tree | 0031fc5ff369e7ad322bfa8c2c6f2418a0a20f32 /usr.sbin/sade/termcap.c | |
parent | f308d26cf02726509dc1ad6a8b882b6772f0d2dc (diff) | |
download | FreeBSD-src-d2ae8075f6713abaac375072d77376110b146400.zip FreeBSD-src-d2ae8075f6713abaac375072d77376110b146400.tar.gz |
Bump an upper limit test so the xterm termcap selection actually works.
Diffstat (limited to 'usr.sbin/sade/termcap.c')
-rw-r--r-- | usr.sbin/sade/termcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c index 9370177..edac12e 100644 --- a/usr.sbin/sade/termcap.c +++ b/usr.sbin/sade/termcap.c @@ -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; |