move fflush to end_graph rather than end_page, because the dot and
xdot renderers don't call agwrite until end_graph. Right now the
fflush flushes nothing.
if (job->output_file
&& ! job->external_context
&& job->output_lang != TK
- && ! job->flags & GVDEVICE_COMPRESSED_FORMAT)
+ && ! (job->flags & GVDEVICE_COMPRESSED_FORMAT))
fflush(job->output_file);
}
cg->end_graph();
}
#endif
+ gvdevice_format(job);
}
void gvrender_begin_page(GVJ_t * job)
cg->end_page();
}
#endif
- gvdevice_format(job);
}
void gvrender_begin_layer(GVJ_t * job)