Compare commits
No commits in common. "587b79dc31748bf27f645990f846fb53f69863b3" and "c94c3d591ecb9d01470c5921ba59de1adad98821" have entirely different histories.
587b79dc31
...
c94c3d591e
10
main.c
10
main.c
@ -116,7 +116,6 @@ static void print_version()
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
GError *error = NULL;
|
||||
GOptionContext *context;
|
||||
gchar *gds_name;
|
||||
@ -174,11 +173,6 @@ int main(int argc, char **argv)
|
||||
/* Get gds name */
|
||||
gds_name = argv[1];
|
||||
|
||||
/* Print out additional arguments as ignored */
|
||||
for (i = 2; i < argc; i++) {
|
||||
printf("Ignored argument: %s", argv[i]);
|
||||
}
|
||||
|
||||
/* Check if PDF/TeX names are supplied. if not generate */
|
||||
basename = g_path_get_basename(gds_name);
|
||||
|
||||
@ -188,8 +182,8 @@ int main(int argc, char **argv)
|
||||
if (!pdfname)
|
||||
pdfname = g_strdup_printf("./%s.pdf", basename);
|
||||
|
||||
if (!svgname)
|
||||
svgname = g_strdup_printf("./%s.svg", basename);
|
||||
if (!pdfname)
|
||||
pdfname = g_strdup_printf("./%s.svg", basename);
|
||||
|
||||
command_line_convert_gds(gds_name, pdfname, texname, pdf, tikz,
|
||||
mappingname, cellname, (double)scale,
|
||||
|
Loading…
Reference in New Issue
Block a user