]> gitweb.factorcode.org Git - factor.git/commitdiff
shapefiles: fix stacke effect names in read-shp.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 19 Feb 2018 00:12:31 +0000 (16:12 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 19 Feb 2018 00:12:31 +0000 (16:12 -0800)
extra/shapefiles/shapefiles.factor

index 49a85d143886bd67cf13c0233b01e13680736830..fe33b05b7dfe5d0b47e7aa6986cbf53f294b4d77 100644 (file)
@@ -167,10 +167,10 @@ TUPLE: record number content-length shape ;
 : read-records ( -- records )
     [ read-record dup ] [ ] produce nip ;
 
-: read-shp ( -- header shapes )
+: read-shp ( -- header records )
     read-header read-records ;
 
-: file>shp ( path -- header shapes )
+: file>shp ( path -- header records )
     binary [ read-shp ] with-file-reader ;
 
 TUPLE: index offset content-length ;