diff options
Diffstat (limited to 'src/dep_graph.c')
-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; |