]> gitweb.factorcode.org Git - factor.git/commitdiff
images.tiff: Fix partial refactor rollback and offeset typo.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 14 Feb 2015 04:53:36 +0000 (20:53 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 14 Feb 2015 04:53:36 +0000 (20:53 -0800)
extra/images/tiff/tiff.factor

index 17d762212c362c35df0689391a50e006917fe7af..aee3d747d97c6d4e76779a69d8051dcf74860257 100755 (executable)
@@ -9,7 +9,7 @@ IN: images.tiff
 
 SINGLETON: tiff-image
 
-TUPLE: loading-tiff endianness the-answer ifd-offset ifd-offsets ifds ;
+TUPLE: loading-tiff endianness the-answer ifd-offset ifds ;
 
 : <loading-tiff> ( -- tiff )
     loading-tiff new
@@ -347,7 +347,7 @@ ERROR: bad-small-ifd-type n ;
         { 10 [ 8 group [ "ii" unpack first2 / ] map ] }
         { 11 [ 4 group [ "f" unpack ] map ] }
         { 12 [ 8 group [ "d" unpack ] map ] }
-        [ "offeset-bytes>obj" unknown-ifd-type ]
+        [ "offset-bytes>obj" unknown-ifd-type ]
     } case ;
 
 : ifd-entry-value ( ifd-entry -- n )