summaryrefslogtreecommitdiff
path: root/src/utf16_le.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 20:10:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 20:10:53 +0100
commit5fc8746a80a7bc6fe88845e1aae3a69903d21cdb (patch)
treee59de9241eef0f0ecb27038f7c85df6619309999 /src/utf16_le.c
parentc9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff)
parent35e13e4c9637f5bf7bef6039c8c813207780a174 (diff)
Update upstream source from tag 'upstream/6.9.9'
Update to upstream version '6.9.9' with Debian dir 5b0f8b561f5675106115901f41e387c12471c40a
Diffstat (limited to 'src/utf16_le.c')
-rw-r--r--src/utf16_le.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utf16_le.c b/src/utf16_le.c
index 35ceb3c..c76a610 100644
--- a/src/utf16_le.c
+++ b/src/utf16_le.c
@@ -2,7 +2,7 @@
utf16_le.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
- * Copyright (c) 2002-2020 K.Kosako
+ * Copyright (c) 2002-2023 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -232,7 +232,7 @@ utf16le_left_adjust_char_head(const UChar* start, const UChar* s)
{
if (s <= start) return (UChar* )s;
- if ((s - start) % 2 == 1) {
+ if ((s - start) % 2 != 0) {
s--;
}