Ver código fonte

Fixed IsRootDir issue.

Mark Sibly 7 anos atrás
pai
commit
3fd66c483d
1 arquivos alterados com 1 adições e 1 exclusões
  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.