Index: png.c =================================================================== --- png.c (revision 26768) +++ png.c (revision 26769) @@ -485,7 +485,7 @@ return result; } -static pcb_hid_attribute_t *png_get_export_options(int *n) +static pcb_hid_attribute_t *png_get_export_options(pcb_hid_t *hid, int *n) { const char *suffix = get_file_suffix(); @@ -1006,7 +1006,7 @@ png_free_cache(); if (!options) { - png_get_export_options(0); + png_get_export_options(hid, 0); for (i = 0; i < NUM_OPTIONS; i++) png_values[i] = png_attribute_list[i].default_val; options = png_values;