diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/screen/patches/patch-help_c |
Initial import
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 = '\''; |