diff options
author | Kenichi Handa <handa@m17n.org> | 2010-01-27 14:17:35 +0900 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2010-01-27 14:17:35 +0900 |
commit | 86e893e3b6a6ee06c21b4d4bbb21d4cdb8fabb73 (patch) | |
tree | 98298a687d07833e64139d6527b4421f99456b07 /src/regex.c | |
parent | 433bdc96cb7234e36f218df1588b17411f54ee57 (diff) | |
parent | 368d3208cfceb42b5ee07c61b4aa5b7d09c9f2bf (diff) | |
download | emacs-86e893e3b6a6ee06c21b4d4bbb21d4cdb8fabb73.tar.gz |
regex.c (analyse_first): Fix setting of fastmap for unibyte pattern string.
Diffstat (limited to 'src/regex.c')
-rw-r--r-- | src/regex.c | 3 |
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) the corresponding multibyte character. */ int c = RE_CHAR_TO_MULTIBYTE (p[1]); - if (! CHAR_BYTE8_P (c)) - fastmap[CHAR_LEADING_CODE (c)] = 1; + fastmap[CHAR_LEADING_CODE (c)] = 1; } } break; |