diff options
author | andmarti1424 <andmarti@gmail.com> | 2018-10-01 23:48:30 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2018-10-01 23:48:30 -0300 |
commit | 43f3586341b59f0d2b4f0753ba99492cb1f448a0 (patch) | |
tree | 9d830c03eb9e698cb62ceb3b2585bdf6a59afa53 /src | |
parent | 803b18e2080abfb459fa93ab4ee15a7b8d9b1625 (diff) |
work on issue 260
Diffstat (limited to 'src')
-rw-r--r-- | src/dep_graph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dep_graph.c b/src/dep_graph.c index 74c58bb..7defe67 100644 --- a/src/dep_graph.c +++ b/src/dep_graph.c @@ -135,8 +135,7 @@ vertexT * GraphAddVertex(graphADT graph , struct ent * ent) { graph->vertices = newVertex; // append in first position - //} else if (ent->row < graph->vertices->ent->row || (ent->row == graph->vertices->ent->row && ent->col < graph->vertices->ent->col)) { - } else { + } else if (ent->row < graph->vertices->ent->row || (ent->row == graph->vertices->ent->row && ent->col < graph->vertices->ent->col)) { newVertex->next = graph->vertices; graph->vertices = newVertex; |