Index: plug_footprint.c =================================================================== --- plug_footprint.c (revision 7973) +++ plug_footprint.c (revision 7974) @@ -409,7 +409,7 @@ pcb_fp_free_children(&pcb_library); return pcb_fp_read_lib_all(); } - if (l->type != PCB_FP_DIR) + if (l->type != LIB_DIR) return -1; be = l->data.dir.backend;