freebsd-ports/games/freebsd-games/files/patch-hack::hack.termcap.c
Kirill Ponomarev ed3ef8d326 - Fix hack(1) running
PR:		ports/64113
Submitted by:	schweikh
2004-03-12 10:10:22 +00:00

13 lines
387 B
C

--- hack/hack.termcap.c.orig Sat Mar 6 22:18:53 2004
+++ hack/hack.termcap.c Thu Mar 11 18:42:47 2004
@@ -35,7 +35,8 @@
flags.nonull = 1;
if(pc = tgetstr("pc", &tbufptr))
PC = *pc;
- if(!(BC = tgetstr("bc", &tbufptr))) {
+ if(!(BC = tgetstr("bc", &tbufptr))
+ &&!(BC = tgetstr("le", &tbufptr))) {
if(!tgetflag("bs"))
error("Terminal must backspace.");
BC = tbufptr;