123456789101112131415 |
- $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 = '\'';
|