INCLUDE and AREAFILE now MAPPATHed
This commit is contained in:
parent
2fb0403106
commit
abc3bbba1a
@ -772,6 +772,7 @@ int ReadCfg(const char* cfgfile, int ignoreunknown) {
|
|||||||
switch(crc) {
|
switch(crc) {
|
||||||
case CRC_INCLUDE:
|
case CRC_INCLUDE:
|
||||||
strschg_environ(val);
|
strschg_environ(val);
|
||||||
|
MapPath(val);
|
||||||
if(not quiet)
|
if(not quiet)
|
||||||
std::cout << "* Including " << val << std::endl;
|
std::cout << "* Including " << val << std::endl;
|
||||||
ReadCfg(val); // NOTE! This is a recursive call!
|
ReadCfg(val); // NOTE! This is a recursive call!
|
||||||
@ -780,6 +781,7 @@ int ReadCfg(const char* cfgfile, int ignoreunknown) {
|
|||||||
break;
|
break;
|
||||||
case CRC_AREAFILE:
|
case CRC_AREAFILE:
|
||||||
strschg_environ(val);
|
strschg_environ(val);
|
||||||
|
MapPath(val);
|
||||||
if(not quiet)
|
if(not quiet)
|
||||||
std::cout << "* Handling " << key << " " << val << std::endl;
|
std::cout << "* Handling " << key << " " << val << std::endl;
|
||||||
AL.GetAreafile(val);
|
AL.GetAreafile(val);
|
||||||
|
Reference in New Issue
Block a user