]> granicus.if.org Git - graphviz/commitdiff
errorfn() now in job->common
authorellson <devnull@localhost>
Thu, 22 Jun 2006 12:23:52 +0000 (12:23 +0000)
committerellson <devnull@localhost>
Thu, 22 Jun 2006 12:23:52 +0000 (12:23 +0000)
plugin/core/gvrender_core_svg.c

index 3d7b4f384f417494c9ccee729913535a69d9b788..13c15b97e07ee533ec81e5d90e464d600d24f54e 100644 (file)
@@ -212,7 +212,7 @@ static void svggen_begin_job(GVJ_t * job)
        }
        break;
 #else
-       (job->gvc->errorfn) ("No libz support.\n");
+       (job->common->errorfn) ("No libz support.\n");
        exit(1);
 #endif
     case FORMAT_SVG:
@@ -282,7 +282,7 @@ static void svggen_end_graph(GVJ_t * job)
        gzclose((gzFile *) (job->output_file));
        break;
 #else
-       (job->gvc->errorfn) ("No libz support\n");
+       (job->common->errorfn) ("No libz support\n");
        exit(1);
 #endif
     case FORMAT_SVG: