]> granicus.if.org Git - graphviz/commitdiff
Fix attribute names to correspond with other usage
authorerg <devnull@localhost>
Tue, 16 Mar 2010 16:17:45 +0000 (16:17 +0000)
committererg <devnull@localhost>
Tue, 16 Mar 2010 16:17:45 +0000 (16:17 +0000)
cmd/smyrna/viewport.c

index cbe6bf996d7dcfbf10b62f3b0b5c4ec251c6ca73..ed3f716144d33ed1622add0d0fea4f5d23454c1f 100755 (executable)
@@ -315,9 +315,9 @@ void set_viewport_settings_from_template(ViewInfo * view, Agraph_t * g)
     view->labelnumberofnodes =
        atof(get_attribute_value("labelnumberofnodes", view, g));
     view->labelshownodes =
-       atoi(get_attribute_value("shownodelabels", view, g));
+       atoi(get_attribute_value("labelshownodes", view, g));
     view->labelshowedges =
-       atoi(get_attribute_value("showedgelabels", view, g));
+       atoi(get_attribute_value("labelshowedges", view, g));
     view->colschms =
        create_color_theme(atoi
                           (get_attribute_value("colortheme", view, g)));