freebsd-ports/sysutils/screen/files/patch-af

16 lines
364 B
Text
Raw Normal View History

2000-10-11 03:46:51 +02:00
--- termcap.c.orig Wed Jul 5 16:33:30 2000
+++ termcap.c Wed Oct 11 05:40:12 2000
@@ -355,11 +355,7 @@
if (D_CG0)
{
if (D_CS0 == 0)
-#ifdef TERMINFO
- D_CS0 = "\033(%p1%c";
-#else
- D_CS0 = "\033(%.";
2000-10-11 03:46:51 +02:00
-#endif
+ D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */
if (D_CE0 == 0)
D_CE0 = "\033(B";
2000-10-11 03:46:51 +02:00
D_AC = 0;