diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-12-19 08:12:44 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-12-19 08:12:44 +0100 |
commit | 7547c5a1405dff1aac1ab054a24907b3ae724c12 (patch) | |
tree | 4ca475fcd4511e8cd245ce31349f4efb56089aaf /src/utf16_le.c | |
parent | 9d10df3f441724d605cd8729c8e8d3ba1ad816f4 (diff) | |
parent | e87df9b5e9eea77d2155767952c996f91b5eebfc (diff) |
Merge branch 'release/debian/6.9.9-1'HEADdebian/6.9.9-1master
Diffstat (limited to 'src/utf16_le.c')
-rw-r--r-- | src/utf16_le.c | 4 |
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--; } |