summaryrefslogtreecommitdiff
path: root/libicui18n/libicui18n/stsearch.cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libicui18n/libicui18n/stsearch.cpp.patch')
-rw-r--r--libicui18n/libicui18n/stsearch.cpp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libicui18n/libicui18n/stsearch.cpp.patch b/libicui18n/libicui18n/stsearch.cpp.patch
new file mode 100644
index 0000000..151b414
--- /dev/null
+++ b/libicui18n/libicui18n/stsearch.cpp.patch
@@ -0,0 +1,11 @@
+--- libicui18n/i18n/stsearch.cpp 2019-12-23 14:38:40.234889235 +0300
++++ libicui18n/stsearch.cpp 2020-07-21 13:21:49.621459123 +0300
+@@ -184,7 +184,7 @@ StringSearch::clone() const {
+ // operator overloading ---------------------------------------------
+ StringSearch & StringSearch::operator=(const StringSearch &that)
+ {
+- if ((*this) != that) {
++ if (!((*this) == that)) {
+ UErrorCode status = U_ZERO_ERROR;
+ m_text_ = that.m_text_;
+ m_breakiterator_ = that.m_breakiterator_;