projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: [PATCH regexec.c] lookahead for REF, MINMOD, PLUS, CURLY*
[p5sagit/p5-mst-13.2.git]
/
ext
/
Encode
/
encengine.c
diff --git
a/ext/Encode/encengine.c
b/ext/Encode/encengine.c
index
4c68dd9
..
513ef9a
100644
(file)
--- a/
ext/Encode/encengine.c
+++ b/
ext/Encode/encengine.c
@@
-106,7
+106,7
@@
do_encode(encpage_t *enc, const U8 *src, STRLEN *slen, U8 *dst, STRLEN dlen, STR
U8 byte = *s;
while (byte > e->max)
e++;
- if (byte >= e->min && e->slen && (approx || !e->slen & 0x80))
+ if (byte >= e->min && e->slen && (approx || !(e->slen & 0x80)))
{
const U8 *cend = s + (e->slen & 0x7f);
if (cend <= send)