diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-11-23 18:38:38 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-11-23 18:38:38 +0000 |
commit | 469ce4c0cdbb50172723c20b6ce2590a5e593023 (patch) | |
tree | 59e68ed0cc94d6367c7d19e230a778b58a89e46b /src/pcre2_match.c | |
parent | ed4ed4376d5c874b42ca5817e91189b6ca1c7298 (diff) | |
download | pcre2-469ce4c0cdbb50172723c20b6ce2590a5e593023.tar.gz |
More documentation and test updates.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@158 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_match.c')
-rw-r--r-- | src/pcre2_match.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pcre2_match.c b/src/pcre2_match.c index b3dc0c3..346a796 100644 --- a/src/pcre2_match.c +++ b/src/pcre2_match.c @@ -6459,12 +6459,8 @@ multiunit character. */ #ifdef SUPPORT_UNICODE if (utf && (options & PCRE2_NO_UTF_CHECK) == 0) { - match_data->rc = PRIV(valid_utf)(subject, length, &(match_data->rightchar)); - if (match_data->rc != 0) - { - match_data->leftchar = 0; - return match_data->rc; - } + match_data->rc = PRIV(valid_utf)(subject, length, &(match_data->startchar)); + if (match_data->rc != 0) return match_data->rc; #if PCRE2_CODE_UNIT_WIDTH != 32 if (start_offset > 0 && start_offset < length && NOT_FIRSTCHAR(subject[start_offset])) |