Skip to content

Commit

Permalink
Improve code style
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Aug 10, 2022
1 parent 3bee678 commit 0df0947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ui/UIRichText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ void MyXMLVisitor::startElement(void* /*ctx*/, const char* elementName, const ch
auto result = tagBehavior.handleVisitEnter(tagAttrValueMap);
ValueMap& attrValueMap = result.first;
RichElement* richElement = result.second;
if (!attrValueMap.empty())
if (tagBehavior.isFontElement)
{
Attributes attributes;

Expand Down

0 comments on commit 0df0947

Please sign in to comment.