Explorar o código

Fixed IsRootDir issue.

Mark Sibly %!s(int64=7) %!d(string=hai) anos
pai
achega
3fd66c483d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/std/filesystem/filesystem.monkey2

+ 1 - 1
modules/std/filesystem/filesystem.monkey2

@@ -372,7 +372,7 @@ End
 #end
 Function IsRootDir:Bool( path:String )
 	
-	Return ExtractRootDir( path )<>""
+	Return ExtractRootDir( path )=path
 End
 
 #rem monkeydoc Gets the process current directory.