Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/include/pl/patterns/pattern_bitfield.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@ namespace pl::ptrn {
} else if (auto *bitfield = dynamic_cast<PatternBitfield *>(pattern.get()); bitfield != nullptr) {
valueString += fmt::format("{} = {} | ", bitfield->getVariableName(), bitfield->formatDisplayValue());
}

if (valueString.size() - 3 > 64) {
break;
}
}

if (valueString.size() >= 3) {
Expand Down Expand Up @@ -810,4 +814,4 @@ namespace pl::ptrn {
bool m_reversed = false;
};

}
}
Loading