summaryrefslogtreecommitdiff
path: root/src/utf32_le.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf32_le.c')
-rw-r--r--src/utf32_le.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utf32_le.c b/src/utf32_le.c
index 2ae2275..473ab74 100644
--- a/src/utf32_le.c
+++ b/src/utf32_le.c
@@ -45,7 +45,7 @@ static int
utf32le_is_mbc_newline(const UChar* p, const UChar* end)
{
if (p + 3 < end) {
- if (*p == 0x0a && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0)
+ if (*p == NEWLINE_CODE && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0)
return 1;
#ifdef USE_UNICODE_ALL_LINE_TERMINATORS
if ((