GIFReader.st
changeset 23 11c422f6d825
parent 21 66b31c91177f
child 25 b44c5b9d9e7d
--- a/GIFReader.st	Fri Jun 03 02:54:13 1994 +0200
+++ b/GIFReader.st	Fri Aug 05 03:15:13 1994 +0200
@@ -20,6 +20,8 @@
 GIFReader comment:'
 COPYRIGHT (c) 1991 by Claus Gittinger
               All Rights Reserved
+
+$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.8 1994-08-05 01:14:16 claus Exp $
 '!
 
 !GIFReader class methodsFor:'documentation'!
@@ -40,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.7 1994-06-03 00:52:39 claus Exp $
+$Header: /cvs/stx/stx/libview2/GIFReader.st,v 1.8 1994-08-05 01:14:16 claus Exp $
 "
 !
 
@@ -199,7 +201,7 @@
     compressedSize := index - 1.
     inStream close.
 
-    data := ByteArray uninitializedNew:((width + 1) * (height + 1)).
+    data := ByteArray new:((width + 1) * (height + 1)).
     Transcript showCr:'decompressing'.
 
     self class decompressGIFFrom:compressedData
@@ -210,7 +212,7 @@
 
     interlaced ifTrue:[
         Transcript showCr:'deinterlacing'.
-        tmp := ByteArray uninitializedNew:(data size).
+        tmp := ByteArray new:(data size).
 
         "phase 1: 0, 8, 16, 24, ..."