diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-06-20 15:15:27 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-06-20 15:15:27 +0000 |
commit | 03ae083c6793d4105e479d1d9a30536fa3fbd28a (patch) | |
tree | 139d36cb7d1488d31c2151803cfee96cd6fd78ac /pcre_dfa_exec.c | |
parent | 2d0b06301bb98c54b9859f54b2e4bee130f268fc (diff) | |
download | pcre-03ae083c6793d4105e479d1d9a30536fa3fbd28a.tar.gz |
Source tidies for 8.31-RC2.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@982 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r-- | pcre_dfa_exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c index 140d85f..df38d10 100644 --- a/pcre_dfa_exec.c +++ b/pcre_dfa_exec.c @@ -2798,11 +2798,11 @@ for (;;) int charcount = local_offsets[rc+1] - local_offsets[rc]; #ifdef SUPPORT_UTF if (utf) - { + { const pcre_uchar *p = start_subject + local_offsets[rc]; const pcre_uchar *pp = start_subject + local_offsets[rc+1]; while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--; - } + } #endif if (charcount > 0) { @@ -2984,11 +2984,11 @@ for (;;) { #ifdef SUPPORT_UTF if (utf) - { + { const pcre_uchar *p = start_subject + local_offsets[0]; const pcre_uchar *pp = start_subject + local_offsets[1]; while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--; - } + } #endif ADD_NEW_DATA(-next_state_offset, 0, (charcount - 1)); if (repeat_state_offset >= 0) |