[DEV] correct a small path bug

This commit is contained in:
Edouard DUPIN 2017-03-26 23:14:46 +02:00
parent 07470e11b9
commit cd0a7f3570

View File

@ -613,7 +613,7 @@ void etk::initDefaultFolder(const char* _applName) {
if (-1 == stat(baseFolderData.c_str(), &statProperty)) {
//Normal case when the file does not exist ... ==> the it was in unknow mode ...
TK_INFO("Path does not exit : '" << baseFolderData << "' ==> try tools data folder ...");
baseFolderData += "/../../../share/";
baseFolderData += "/../../share/";
baseFolderData += binaryName;
baseFolderData += "/";
baseFolderData = simplifyPath(baseFolderData);