]> granicus.if.org Git - graphviz/commitdiff
fix obvious typo in cgraph code that isn't in use yet
authorellson <devnull@localhost>
Thu, 24 Sep 2009 19:49:29 +0000 (19:49 +0000)
committerellson <devnull@localhost>
Thu, 24 Sep 2009 19:49:29 +0000 (19:49 +0000)
lib/gvc/gvevent.c

index 3229444f3ce5b4f38216c382df6161db63fb04b9..067e33981e4b00dacd2bdc2d6939d75a57074583 100644 (file)
@@ -672,7 +672,7 @@ static void gvevent_read (GVJ_t * job, const char *filename, const char *layout)
 #ifndef WITH_CGRAPH
        g = agopen("G", AGDIGRAPH);
 #else /* WITH_CGRAPH */
-               agopen("G", Agdirected, NIL(Agdisc_t *));
+       g = agopen("G", Agdirected, NIL(Agdisc_t *));
 #endif /* WITH_CGRAPH */
        job->output_filename = "new.dot";
     }