aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c
index 0dbfa5971b3..bb921a5b519 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -4083,8 +4083,7 @@ analyse_first (p, pend, fastmap, multibyte)
4083 the corresponding multibyte character. */ 4083 the corresponding multibyte character. */
4084 int c = RE_CHAR_TO_MULTIBYTE (p[1]); 4084 int c = RE_CHAR_TO_MULTIBYTE (p[1]);
4085 4085
4086 if (! CHAR_BYTE8_P (c)) 4086 fastmap[CHAR_LEADING_CODE (c)] = 1;
4087 fastmap[CHAR_LEADING_CODE (c)] = 1;
4088 } 4087 }
4089 } 4088 }
4090 break; 4089 break;