Index: eps.c =================================================================== --- eps.c (revision 21305) +++ eps.c (revision 21306) @@ -148,10 +148,8 @@ static pcb_hid_attribute_t *eps_get_export_options(int *n) { - static char *last_made_filename = 0; - if (PCB) - pcb_derive_default_filename(PCB->Filename, &eps_attribute_list[HA_psfile], ".eps", &last_made_filename); + pcb_derive_default_filename(PCB->Filename, &eps_attribute_list[HA_psfile], ".eps"); if (n) *n = NUM_OPTIONS; Index: ps.c =================================================================== --- ps.c (revision 21305) +++ ps.c (revision 21306) @@ -438,9 +438,8 @@ static pcb_hid_attribute_t *ps_get_export_options(int *n) { - static char *last_made_filename = 0; if (PCB) - pcb_derive_default_filename(PCB->Filename, &ps_attribute_list[HA_psfile], ".ps", &last_made_filename); + pcb_derive_default_filename(PCB->Filename, &ps_attribute_list[HA_psfile], ".ps"); if (n) *n = NUM_OPTIONS;