author | Claus Gittinger <cg@exept.de> |
Thu, 06 Jun 2019 23:21:49 +0200 | |
changeset 4276 | 3105917f58e6 |
parent 4275 | 47c5eb544d7a |
child 4277 | 4d081794c98c |
PNGReader.st | file | annotate | diff | comparison | revisions |
--- a/PNGReader.st Thu Jun 06 15:28:04 2019 +0200 +++ b/PNGReader.st Thu Jun 06 23:21:49 2019 +0200 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 1996 by Claus Gittinger All Rights Reserved @@ -608,8 +610,10 @@ pass = 6 ifTrue: [ ^ width >=2 ]. pass = 7 ifTrue: [ ^ height >=2 ]. - self error:'invalid argument'. + ArgumentError raise. ^ true + + "Modified: / 06-06-2019 / 23:21:38 / Claus Gittinger" ! processBKGDChunkLen:len