#TUNING by exept
authorClaus Gittinger <cg@exept.de>
Sun, 08 Sep 2019 14:23:13 +0200
changeset 5205 c56119676a9c
parent 5204 2aed622d96ee
child 5206 dcadf2efcee0
#TUNING by exept class: ZipArchive::ZipWriteStream changed: #nextPutAll: (send #== instead of #=)
ZipArchive.st
--- a/ZipArchive.st	Sun Sep 08 00:58:27 2019 +0200
+++ b/ZipArchive.st	Sun Sep 08 14:23:13 2019 +0200
@@ -5412,10 +5412,10 @@
     |size|
 
     size := aCollection size.
-    size = 0 ifFalse:[
-	uncompressedDataSize := uncompressedDataSize + size.
-	crc32 := ZipStream crc32BytesIn:aCollection from:1 to:size crc:crc32.
-	compressingStream nextPutAll:aCollection
+    size == 0 ifFalse:[
+        uncompressedDataSize := uncompressedDataSize + size.
+        crc32 := ZipStream crc32BytesIn:aCollection from:1 to:size crc:crc32.
+        compressingStream nextPutAll:aCollection
     ].
 ! !