diff options
author | Andy Lester <andy@petdance.com> | 2005-11-21 15:16:14 -0600 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-11-22 03:41:17 +0000 |
commit | af68e75656cbfd664098f1282fc660db7e34b9ca (patch) | |
tree | c69467782e8fa06dc15e95d83bf567e798e552c4 /pp_ctl.c | |
parent | 1606b0c75b28d460075c09d3a6b2203fda3d6db3 (diff) | |
download | perl-af68e75656cbfd664098f1282fc660db7e34b9ca.tar.gz |
ff_chop.patch redux
Message-ID: <20051122031614.GB19424@petdance.com>
p4raw-id: //depot/perl@26188
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -726,7 +726,7 @@ PP(pp_formline) { const char *s = chophere; if (chopspace) { - while (*s && isSPACE(*s)) + while (isSPACE(*s)) s++; } sv_chop(sv,s); @@ -864,7 +864,7 @@ PP(pp_formline) const char *s = chophere; const char *send = item + len; if (chopspace) { - while (*s && isSPACE(*s) && s < send) + while (isSPACE(*s) && (s < send)) s++; } if (s < send) { |