Sfoglia il codice sorgente

Return correct type.

woollybah 11 anni fa
parent
commit
ad7e8484a9
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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