Browse Source

Compile fix for filestystem

DjWarmonger 13 years ago
parent
commit
0e12876ecc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Scripting/ERM/ERMInterpreter.cpp

+ 1 - 1
Scripting/ERM/ERMInterpreter.cpp

@@ -376,7 +376,7 @@ void ERMInterpreter::scanForScripts()
 	{
 		if(is_regular(dir->status()))
 		{
-			std::string name = dir->path().leaf();
+			std::string name = dir->path().leaf().string();
 			if( boost::algorithm::ends_with(name, ".erm") ||
 				boost::algorithm::ends_with(name, ".verm") )
 			{