Skip to content
Snippets Groups Projects
Commit 3a1929b8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Provide more help for the "Access to Sub-directories" feature

This is an experimental feature that's been in the code for quite a while without any supporting help/docs (there was the original commit message, I'm sure). I'm not sure how much value this feature is without providing automatic access to the *files* within the sub-directories, but there you have it.
parent 005633b1
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2588 passed
......@@ -388,7 +388,7 @@ void xfer_cfg()
sprintf(opt[j++],"%-27.27s%s","Access Requirements"
,cfg.lib[i]->arstr);
sprintf(opt[j++],"%-27.27s%s","Access to Sub-directories"
,cfg.lib[i]->misc&LIB_DIRS ? "Yes":"No");
,cfg.lib[i]->parent_path[0] ? (cfg.lib[i]->misc&LIB_DIRS ? "Yes":"No") : "N/A");
sprintf(opt[j++],"%-27.27s%s","Sort Library By Directory", area_sort_desc[cfg.lib[i]->sort]);
strcpy(opt[j++],"Clone Options");
strcpy(opt[j++],"Export Areas...");
......@@ -465,7 +465,19 @@ void xfer_cfg()
uifc.helpbuf=
"`Access to Sub-directories:`\n"
"\n"
"When a Library's parent directory has been defined, sub-directories of\n"
"that parent directory may be automatically added as directories of the\n"
"library when this option is set to `Yes`.\n"
"\n"
"The directory's names and code suffix are derived from the name of the\n"
"sub-directory.\n"
"\n"
"~ This is an experimental feature. ~"
;
if(cfg.lib[i]->parent_path[0] == '\0') {
uifc.msg("A parent directory must be specified to use this feature");
break;
}
j=uifc.list(WIN_MID|WIN_SAV,0,0,0,&j,0
,"Allow Access to Sub-directories of Parent Directory"
,uifcYesNoOpts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment