blob: 8b997c7de6749876711a1f764e4a74c57920b015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- screen-4.0.3.orig/help.c 2003-09-08 16:25:33.000000000 +0200
+++ screen-4.0.3/help.c 2008-10-08 14:08:53.000000000 +0200
@@ -386,9 +386,9 @@ int x, y;
del = 0;
bp = buf;
ll = *lp++;
- if (!ll || (index(cp, ' ') != NULL))
+ if (!ll || (strchr(cp, ' ') != NULL))
{
- if (index(cp, '\'') != NULL)
+ if (strchr(cp, '\'') != NULL)
*bp++ = del = '"';
else
*bp++ = del = '\'';
|