Browse Source

Return correct type.

woollybah 11 năm trước cách đây
mục cha
commit
ad7e8484a9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      filesystem.mod/filesystem.bmx

+ 2 - 2
filesystem.mod/filesystem.bmx

@@ -396,9 +396,9 @@ End Function
 
 Rem
 bbdoc: Open a directory
-returns: An integer directory handle, or 0 if the directory does not exist
+returns: A directory handle, or 0 if the directory does not exist
 End Rem
-Function ReadDir( path$ )
+Function ReadDir:Byte Ptr( path$ )
 	FixPath path,True
 	Return opendir_( path )
 End Function