Command line: Fix auto-guessing of SVG file name.
This commit is contained in:
parent
c94c3d591e
commit
67e5023c1e
4
main.c
4
main.c
@ -182,8 +182,8 @@ int main(int argc, char **argv)
|
|||||||
if (!pdfname)
|
if (!pdfname)
|
||||||
pdfname = g_strdup_printf("./%s.pdf", basename);
|
pdfname = g_strdup_printf("./%s.pdf", basename);
|
||||||
|
|
||||||
if (!pdfname)
|
if (!svgname)
|
||||||
pdfname = g_strdup_printf("./%s.svg", basename);
|
svgname = g_strdup_printf("./%s.svg", basename);
|
||||||
|
|
||||||
command_line_convert_gds(gds_name, pdfname, texname, pdf, tikz,
|
command_line_convert_gds(gds_name, pdfname, texname, pdf, tikz,
|
||||||
mappingname, cellname, (double)scale,
|
mappingname, cellname, (double)scale,
|
||||||
|
Loading…
Reference in New Issue
Block a user