浏览代码

Fixed IsRootDir issue.

Mark Sibly 7 年之前
父节点
当前提交
3fd66c483d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.