Fix ligoscape.cfg load

kaetemi-develop
kaetemi 6 years ago
parent 33a3ad04f5
commit 20920be7bd

@ -134,7 +134,7 @@ bool CMaxToLigo::loadLigoConfigFile (CLigoConfig& config, Interface& it, bool di
if (res) if (res)
{ {
// Path // Path
std::string path = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath) + "ligoscape.cfg"); std::string path = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath)) + "ligoscape.cfg";
try try
{ {

@ -4063,7 +4063,7 @@ bool loadLigoConfigFile (CLigoConfig& config, Interface& it)
if (res) if (res)
{ {
// Path // Path
std::string modulePath = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath)); std::string modulePath = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath)) + "ligoscape.cfg";
try try
{ {

Loading…
Cancel
Save