Index: plug_footprint_act.c =================================================================== --- plug_footprint_act.c (revision 30804) +++ plug_footprint_act.c (revision 30805) @@ -54,7 +54,7 @@ return 0; } - if (l->type != LIB_DIR) { + if (l->type != PCB_LIB_DIR) { pcb_message(PCB_MSG_ERROR, "Library path %s is not a directory\n", name); PCB_ACT_IRES(1); return 0;