summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index d825e64eb8..b52563a38f 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -881,7 +881,7 @@ play_it_again:
goto nope;
else if ((rx->reganch & ROPT_CHECK_ALL) && !sawampersand)
goto yup;
- if (s && rx->check_offset_max < t - s) {
+ if (s && rx->check_offset_max < s - t) {
++BmUSEFUL(rx->check_substr);
s -= rx->check_offset_max;
}