summaryrefslogtreecommitdiff
path: root/libicuuc/libicu/uniset.cpp.patch
blob: eff5c13d1b5d0be7b68d2f8a6f2d1bb68af68a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libicu/uc/uniset.cpp	2020-07-21 11:57:44.853500497 +0300
+++ libicu/uniset.cpp	2020-07-21 12:52:58.109222826 +0300
@@ -302,7 +302,7 @@ UBool UnicodeSet::operator==(const Unico
         if (list[i] != o.list[i]) return FALSE;
     }
     if (hasStrings() != o.hasStrings()) { return FALSE; }
-    if (hasStrings() && *strings != *o.strings) return FALSE;
+    if (hasStrings() && !(*strings == *o.strings)) return FALSE;
     return TRUE;
 }