summaryrefslogtreecommitdiff
path: root/sysutils/screen49/files/patch-termcap.c
blob: a7abaa54ce8108d1830a7b43e14748a883d2361f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- termcap.c.orig	2023-08-16 00:29:26 UTC
+++ termcap.c
@@ -361,11 +361,7 @@ int he;
   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;