Apply patch by marius1309 to fix #939, thanks\!

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2013-04-22 23:48:23 +00:00
parent 3854da8189
commit 634c46906e

View File

@@ -980,7 +980,8 @@ void FileManager::listFiles(std::set<std::string>& result,
*/
void FileManager::checkAndCreateDirForAddons(const std::string &dir)
{
bool success = checkAndCreateDirectory(dir);
// Tries to create directory recursively
bool success = checkAndCreateDirectoryP(dir);
if(!success)
{
Log::warn("FileManager", "There is a problem with the addons dir.");