summaryrefslogtreecommitdiff
path: root/enc/utf_32be.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/utf_32be.c')
-rw-r--r--enc/utf_32be.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/enc/utf_32be.c b/enc/utf_32be.c
index b37e961e17..059a33fea6 100644
--- a/enc/utf_32be.c
+++ b/enc/utf_32be.c
@@ -28,6 +28,7 @@
*/
#include "regenc.h"
+#include "iso_8859.h"
static int
utf32be_mbc_enc_len(const UChar* p ARG_UNUSED, const OnigUChar* e ARG_UNUSED,
@@ -126,7 +127,7 @@ utf32be_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* e
int c, v;
p += 3;
- if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
+ if (*p == SHARP_s && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
return TRUE;
}