2
0
Эх сурвалжийг харах

Compile fix for filestystem

DjWarmonger 13 жил өмнө
parent
commit
0e12876ecc

+ 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") )
 			{