mirror of
https://github.com/rizinorg/cutter.git
synced 2024-11-23 04:49:49 +00:00
Fix compilation error of undefined TRUE
This commit is contained in:
parent
8574f0b0e4
commit
1a52a7eea4
@ -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;
|
||||
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user