Index: trunk/src/file_act.c =================================================================== --- trunk/src/file_act.c (revision 27371) +++ trunk/src/file_act.c (revision 27372) @@ -309,7 +309,7 @@ const char *ending; static char *default_file; pcb_subc_t *subc; - pcb_plug_io_t *p = pcb_io_find_writer(PCB_IOT_BUFFER_SUBC, fmt); + pcb_plug_io_t *p = pcb_io_find_writer(PCB_IOT_FOOTPRINT, fmt); if (p == NULL) { Index: trunk/src/plug_io.c =================================================================== --- trunk/src/plug_io.c (revision 27371) +++ trunk/src/plug_io.c (revision 27372) @@ -410,7 +410,7 @@ static int pcb_write_buffer(FILE *f, pcb_buffer_t *buff, const char *fmt, pcb_bool subc_only, long subc_idx) { int res/*, newfmt = 0*/; - pcb_plug_io_t *p = pcb_io_find_writer(subc_only ? PCB_IOT_BUFFER_SUBC : PCB_IOT_BUFFER, fmt); + pcb_plug_io_t *p = pcb_io_find_writer(subc_only ? PCB_IOT_FOOTPRINT : PCB_IOT_BUFFER, fmt); if (p != NULL) { if (subc_only) Index: trunk/src/plug_io.h =================================================================== --- trunk/src/plug_io.h (revision 27371) +++ trunk/src/plug_io.h (revision 27372) @@ -37,8 +37,7 @@ PCB_IOT_PCB = 1, PCB_IOT_FOOTPRINT = 2, PCB_IOT_FONT = 4, - PCB_IOT_BUFFER = 8, - PCB_IOT_BUFFER_SUBC= 16 + PCB_IOT_BUFFER = 8 } pcb_plug_iot_t; /**************************** API definition *********************************/