diff options
Diffstat (limited to 'src/mbgl/style/expression/formatted.cpp')
-rw-r--r-- | src/mbgl/style/expression/formatted.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/style/expression/formatted.cpp b/src/mbgl/style/expression/formatted.cpp index 4069dd8a7c..9041bb3121 100644 --- a/src/mbgl/style/expression/formatted.cpp +++ b/src/mbgl/style/expression/formatted.cpp @@ -17,9 +17,8 @@ bool Formatted::operator==(const Formatted& other) const { for (std::size_t i = 0; i < sections.size(); i++) { const auto& thisSection = sections.at(i); const auto& otherSection = other.sections.at(i); - if (thisSection.text != otherSection.text || - thisSection.fontScale != otherSection.fontScale || - thisSection.fontStack != otherSection.fontStack || + if (thisSection.text != otherSection.text || thisSection.image != otherSection.image || + thisSection.fontScale != otherSection.fontScale || thisSection.fontStack != otherSection.fontStack || thisSection.textColor != otherSection.textColor) { return false; } |