diff --git a/RetroFE/Source/Database/Configuration.cpp b/RetroFE/Source/Database/Configuration.cpp index 320368b..538e098 100644 --- a/RetroFE/Source/Database/Configuration.cpp +++ b/RetroFE/Source/Database/Configuration.cpp @@ -26,7 +26,6 @@ #else #include #include -#include #endif std::string Configuration::AbsolutePath; @@ -307,18 +306,6 @@ std::string Configuration::ConvertToAbsolutePath(std::string prefix, std::string char first = ' '; char second = ' '; - // expand path variables -#ifdef WIN32 - // Do something equivalent to the 'nix code using Windows' ExpandEnvironmentStrings() here -#else - wordexp_t expandedPath; - wordexp(path.c_str(), &expandedPath, 0); - path = "\"" + path + "\""; - path.assign(expandedPath.we_wordv[0]); - path.erase(std::remove(path.begin(), path.end(), '"'), path.end()); - wordfree(&expandedPath); -#endif - if(path.length() >= 0) { first = path.c_str()[0];