Browse Source

Fixed OS X compilation

stopiccot 12 years ago
parent
commit
277eb13cb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/VCMIDirs.cpp

+ 1 - 1
lib/VCMIDirs.cpp

@@ -67,7 +67,7 @@ std::string VCMIDirs::localPath() const
 	if (getenv("HOME") != NULL )
 		home_dir = getenv("HOME");
 
-	return path(home_dir + "/Library/Application Support/vcmi").string();
+	return boost::filesystem::path(home_dir + "/Library/Application Support/vcmi").string();
 }
 
 std::string VCMIDirs::libraryPath() const