]> granicus.if.org Git - graphviz/commitdiff
'get node tooltips from the right place
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:25:49 +0000 (18:25 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:25:49 +0000 (18:25 +0000)
'

lib/gvc/gvevent.c

index 638e99d70231962d1d977e4556c33bbb4fb94f4d..21525a83238c5c0f20f29b97b0807f53d8439038 100644 (file)
@@ -263,7 +263,7 @@ static void gvevent_enter_obj(GVJ_t * job)
            ND_active(n) = TRUE;
            a = agfindattr(n->graph->proto->n, s_tooltip);
            if (a)
-               job->active_tooltip = strdup_and_subst_node(agxget(e, a->index), n);
+               job->active_tooltip = strdup_and_subst_node(agxget(n, a->index), n);
            break;
         case AGEDGE:
            e = (edge_t*)obj;