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