summaryrefslogtreecommitdiff
path: root/enc/utf_16le.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/utf_16le.c')
-rw-r--r--enc/utf_16le.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/enc/utf_16le.c b/enc/utf_16le.c
index a4bb6f7931..78186e6279 100644
--- a/enc/utf_16le.c
+++ b/enc/utf_16le.c
@@ -28,6 +28,7 @@
*/
#include "regenc.h"
+#include "iso_8859.h"
#if 0
static const int EncLen_UTF16[] = {
@@ -177,7 +178,7 @@ utf16le_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp,
if (*(p+1) == 0) {
int c, v;
- 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;
}