aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UniConversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UniConversion.h')
-rw-r--r--src/UniConversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UniConversion.h b/src/UniConversion.h
index ead7aae57..95ff2ad43 100644
--- a/src/UniConversion.h
+++ b/src/UniConversion.h
@@ -80,7 +80,7 @@ inline bool UTF8IsNEL(const unsigned char *us) noexcept {
return (us[0] == 0xc2) && (us[1] == 0x85);
}
-// Is the sequence of 3 char a UTF-8 line end? Only the last two char are tested for a NEL.
+// Is the sequence of 3 char a UTF-8 line end? Only the last two char are tested for a NEL.
constexpr bool UTF8IsMultibyteLineEnd(unsigned char ch0, unsigned char ch1, unsigned char ch2) noexcept {
return
((ch0 == 0xe2) && (ch1 == 0x80) && ((ch2 == 0xa8) || (ch2 == 0xa9))) ||