Index: trunk/src_plugins/fp_fs/fp_fs.c =================================================================== --- trunk/src_plugins/fp_fs/fp_fs.c (revision 7939) +++ trunk/src_plugins/fp_fs/fp_fs.c (revision 7940) @@ -230,7 +230,7 @@ pcb_path_resolve(working_, &working, 0); if (strcmp(subdir, ".") == 0) - visible_subdir = "fs"; + visible_subdir = toppath; else visible_subdir = subdir; @@ -261,9 +261,10 @@ static int fp_fs_load_dir(pcb_plug_fp_t *ctx, const char *path, int force) { int res; +printf("LOAD: '%s'\n", path); res = fp_fs_load_dir_(&pcb_library, ".", path, 1); if (res >= 0) { - pcb_fplibrary_t *l = pcb_fp_lib_search(&pcb_library, "fs"); + pcb_fplibrary_t *l = pcb_fp_lib_search(&pcb_library, path); if ((l != NULL) && (l->type == PCB_FP_DIR)) l->data.dir.backend = ctx; }