summaryrefslogtreecommitdiff
path: root/enc/utf_16le.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-11 02:24:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-11 02:24:38 +0000
commit2d2b6460f48f82bdf7bee6a396293e2dc942e1a9 (patch)
treee6f0a380dc82137befc25919aef78ddf6a66c127 /enc/utf_16le.c
parent9fa8b80550d2af9309d2f493138c21969711bf60 (diff)
iso_8859.h: SHARP_s
* enc/iso_8859.h (SHARP_s): name frequently used codepoint. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 a4bb6f7..78186e6 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;
}