Some corrections related to using UNICODE.

This commit is contained in:
rnv 2018-09-27 14:27:17 +03:00
parent 8c9ebd878e
commit 1146ac90d2

View File

@ -2544,6 +2544,9 @@ void GEOM_Gen_i::LoadPlugin(const std::string& theLibName)
#endif
// load plugin library
LibHandle libHandle = LoadLib(aPath);
#if UNICODE
delete aPath;
#endif
#else
LibHandle libHandle = LoadLib(aPlatformLibName.c_str());
#endif