]> granicus.if.org Git - graphviz/commitdiff
minor cleanup
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:10:40 +0000 (21:10 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:10:40 +0000 (21:10 +0000)
lib/gvc/gvrender.c

index 434a4fff0641bd9199ecd4a5eeaba2e933587be8..970b9abdbc0735e7970707331d06c88fc89d22ca 100644 (file)
@@ -586,8 +586,8 @@ void gvrender_begin_context(GVJ_t * job)
     if (gvre) {
        (gvc->SP)++;
        assert((gvc->SP) < MAXNEST);
-       (gvc->styles)[gvc->SP] = (gvc->styles)[(gvc->SP) - 1];
-       job->style = &((gvc->styles)[gvc->SP]);
+       gvc->styles[gvc->SP] = gvc->styles[(gvc->SP) - 1];
+       job->style = &(gvc->styles[gvc->SP]);
     }
 #ifndef DISABLE_CODEGENS
     else {