summaryrefslogtreecommitdiff
path: root/libicui18n/libicui18n/stsearch.cpp.patch
blob: 151b41465e79acebb318b690ddfcffdbf9b30823 (plain)
1
2
3
4
5
6
7
8
9
10
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_;