aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c
index eda11b5350a..cb94d597c6f 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2930,7 +2930,8 @@ re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
2930 inside the loop. */ 2930 inside the loop. */
2931 if (translate) 2931 if (translate)
2932 while (range > lim 2932 while (range > lim
2933 && !fastmap[(unsigned char) translate[*d++]]) 2933 && !fastmap[(unsigned char)
2934 translate[(unsigned char) *d++]])
2934 range--; 2935 range--;
2935 else 2936 else
2936 while (range > lim && !fastmap[(unsigned char) *d++]) 2937 while (range > lim && !fastmap[(unsigned char) *d++])