Commit 6dd420eb authored by rswindell's avatar rswindell
Browse files

Don't make the default storage path "../data/dirs/<code>" if the library has a

parent directory configured.
parent 50d9d78b
......@@ -685,7 +685,10 @@ contents, usually an abreviation of the directory's name.
uifc.msg("Invalid Code");
uifc.helpbuf=0;
continue; }
sprintf(path,"%sdirs/%s",cfg.data_dir,code);
if(cfg.lib[libnum]->parent_path[0])
SAFECOPY(path,code);
else
sprintf(path,"%sdirs/%s",cfg.data_dir,code);
SETHELP(WHERE);
/*
Directory File Path:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment