Code

More graph_parent_is_merge usage
authorJonas Fonseca <fonseca@diku.dk>
Tue, 12 Sep 2006 16:52:55 +0000 (18:52 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Tue, 12 Sep 2006 16:52:55 +0000 (18:52 +0200)
tig.c

diff --git a/tig.c b/tig.c
index ce35f5925135c11c1759b86540332ff5e4d10931..0948cb7b19982318b4d66fb264e80e84284d21d5 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -2753,7 +2753,7 @@ get_rev_graph_symbol(struct rev_graph *graph)
 
        if (graph->parents->size == 0)
                symbol = REVGRAPH_INIT;
-       else if (graph->parents->size > 1)
+       else if (graph_parent_is_merge(graph))
                symbol = REVGRAPH_MERGE;
        else if (graph->pos >= graph->size)
                symbol = REVGRAPH_BRANCH;