Command line: Fix auto-guessing of SVG file name.

This commit is contained in:
Mario Hüttel 2019-03-15 17:56:53 +01:00
parent c94c3d591e
commit 67e5023c1e

4
main.c
View File

@ -182,8 +182,8 @@ int main(int argc, char **argv)
if (!pdfname)
pdfname = g_strdup_printf("./%s.pdf", basename);
if (!pdfname)
pdfname = g_strdup_printf("./%s.svg", basename);
if (!svgname)
svgname = g_strdup_printf("./%s.svg", basename);
command_line_convert_gds(gds_name, pdfname, texname, pdf, tikz,
mappingname, cellname, (double)scale,