Skip to content

Commit

Permalink
Fix compilation error of undefined TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Feb 21, 2024
1 parent 8574f0b commit 1a52a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/GraphvizLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void GraphvizLayout::CalculateLayout(std::unordered_map<ut64, GraphBlock> &block

std::unordered_map<ut64, Agnode_t *> nodes;
for (const auto &block : blocks) {
nodes[block.first] = agnode(g, nullptr, TRUE);
nodes[block.first] = agnode(g, nullptr, true);
}

std::vector<std::string> strc;
Expand Down Expand Up @@ -143,7 +143,7 @@ void GraphvizLayout::CalculateLayout(std::unordered_map<ut64, GraphBlock> &block
if (v == nodes.end()) {
continue;
}
auto e = agedge(g, u, v->second, nullptr, TRUE);
auto e = agedge(g, u, v->second, nullptr, true);
edges[{ blockIt.first, edge.target }] = e;
if (loopEdges.find({ blockIt.first, edge.target }) != loopEdges.end()) {
agxset(e, constraintAttr, STR("0"));
Expand Down

0 comments on commit 1a52a7e

Please sign in to comment.