Test fix for LUA environment variables

This commit is contained in:
mathusummut
2018-06-29 16:14:38 +02:00
parent 78e0fb173a
commit dfd4a658aa
5 changed files with 12 additions and 7 deletions

View File

@@ -234,6 +234,7 @@ namespace Shared {
//string appPath="";
//appPath.assign(&pMBBuffer[0]); // Now assign the char* to the string, and there you have it!!! :)
std::string appPath = utf8_encode(szPath);
replaceAll(appPath, "\\", "/");
//string appPath = szPath;
mapTagReplacementValues["$APPDATA"] = appPath;