Really fixed the mb issue of mb_ereg_replace()

# my previous patch is somewhat wrong
This commit is contained in:
Moriyoshi Koizumi 2003-01-23 20:38:44 +00:00
parent 3e7b832895
commit cfbd0bb58a

View file

@ -619,7 +619,7 @@ _php_mb_regex_ereg_replace_exec(INTERNAL_FUNCTION_PARAMETERS, int option)
p += 2;
i += 2;
} else {
_php_mb_regex_strbuf_ncat(pdevice, (const unsigned char *)p, 1);
_php_mb_regex_strbuf_ncat(pdevice, (const unsigned char *)p, fwd);
p += fwd;
i += fwd;
}