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 b0c25a4bcf
commit 33deba8ca4

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,