From 43f3586341b59f0d2b4f0753ba99492cb1f448a0 Mon Sep 17 00:00:00 2001 From: andmarti1424 Date: Mon, 1 Oct 2018 23:48:30 -0300 Subject: work on issue 260 --- src/dep_graph.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3