Index: ltspice.c =================================================================== --- ltspice.c (revision 25226) +++ ltspice.c (revision 25227) @@ -232,12 +232,12 @@ FILE *fn, *fa; int ret = 0; - fn = pcb_fopen(fname_net, "r"); + fn = pcb_fopen(&PCB->hidlib, fname_net, "r"); if (fn == NULL) { pcb_message(PCB_MSG_ERROR, "can't open file '%s' for read\n", fname_net); return -1; } - fa = pcb_fopen(fname_asc, "r"); + fa = pcb_fopen(&PCB->hidlib, fname_asc, "r"); if (fa == NULL) { pcb_message(PCB_MSG_ERROR, "can't open file '%s' for read\n", fname_asc); fclose(fn);