]> granicus.if.org Git - graphviz/commitdiff
Fix incorrect selected node color
authorerg <devnull@localhost>
Wed, 17 Mar 2010 22:05:34 +0000 (22:05 +0000)
committererg <devnull@localhost>
Wed, 17 Mar 2010 22:05:34 +0000 (22:05 +0000)
cmd/smyrna/topviewfuncs.c

index ef774a8cb2b8939989224737ddb8a42e04660084..5840bfca301df47cc6881a879996c63dd8f51d9a 100644 (file)
@@ -271,7 +271,7 @@ void renderSelectedNodes(Agraph_t * g)
     {
        if(!((nodeRec*)(aggetrec(v,"nodeRec",0)))->selected)
            continue;
-       glColor4f(view->selectedEdgeColor.R, view->selectedNodeColor.G,view->selectedNodeColor.B, view->selectedNodeColor.A);
+       glColor4f(view->selectedNodeColor.R, view->selectedNodeColor.G,view->selectedNodeColor.B, view->selectedNodeColor.A);
        pos=((nodeRec*)(aggetrec(v,"nodeRec",0)))->A;
        nodeSize=((nodeRec*)(aggetrec(v,"nodeRec",0)))->size;