Browse Source

Fixed IsRootDir issue.

Mark Sibly 7 năm trước cách đây
mục cha
commit
3fd66c483d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.