Fix ligoscape.cfg load
This commit is contained in:
parent
33a3ad04f5
commit
20920be7bd
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ bool CMaxToLigo::loadLigoConfigFile (CLigoConfig& config, Interface& it, bool di
|
|||
if (res)
|
||||
{
|
||||
// Path
|
||||
std::string path = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath) + "ligoscape.cfg");
|
||||
std::string path = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath)) + "ligoscape.cfg";
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
@ -4063,7 +4063,7 @@ bool loadLigoConfigFile (CLigoConfig& config, Interface& it)
|
|||
if (res)
|
||||
{
|
||||
// Path
|
||||
std::string modulePath = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath));
|
||||
std::string modulePath = NLMISC::CFile::getPath(MCharStrToUtf8(sModulePath)) + "ligoscape.cfg";
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue