diff options
Diffstat (limited to 'package/screen/patches/patch-help_c')
-rw-r--r-- | package/screen/patches/patch-help_c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/screen/patches/patch-help_c b/package/screen/patches/patch-help_c new file mode 100644 index 000000000..8b997c7de --- /dev/null +++ b/package/screen/patches/patch-help_c @@ -0,0 +1,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 = '\''; |