summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-af
blob: 426bb1516fd68ed1c4946bbf19366cca7883a7d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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(%.";
-#endif
+	D_CS0 = "\033(%p1%c"; /* Old ncurses can't handle %. */
       if (D_CE0 == 0)
         D_CE0 = "\033(B";
       D_AC = 0;