blob: 3dc7d60bf766e2abc76b17876cd2c92286646a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- screen-4.0.3.orig/termcap.c 2003-09-08 16:45:36.000000000 +0200
+++ screen-4.0.3/termcap.c 2008-10-08 14:09:15.000000000 +0200
@@ -940,7 +940,7 @@ int aflag;
debug1("MakeTermcap decided '%s'\n", p);
if (extra_outcap && *extra_outcap)
{
- for (cp = extra_outcap; (p = index(cp, ':')); cp = p)
+ for (cp = extra_outcap; (p = strchr(cp, ':')); cp = p)
{
ch = *++p;
*p = '\0';
|