diff --git a/lib/libimhex/include/hex/pattern_language/patterns/pattern_array_static.hpp b/lib/libimhex/include/hex/pattern_language/patterns/pattern_array_static.hpp index 084c69fe2..48e973a51 100644 --- a/lib/libimhex/include/hex/pattern_language/patterns/pattern_array_static.hpp +++ b/lib/libimhex/include/hex/pattern_language/patterns/pattern_array_static.hpp @@ -137,7 +137,7 @@ namespace hex::pl { [[nodiscard]] const Pattern *getPattern(u64 offset) const override { if (this->isHidden()) return nullptr; - this->m_highlightTemplate->setColor(this->getColor()); + this->m_highlightTemplate->setBaseColor(this->getColor()); this->m_highlightTemplate->setVariableName(this->getVariableName()); this->m_highlightTemplate->setDisplayName(this->getDisplayName());