* Remove unneeded raising of exception

git-svn-id: trunk@33472 -
This commit is contained in:
michael 2016-04-10 15:52:31 +00:00
parent 65e901c844
commit 3b2770854a

View File

@ -846,7 +846,7 @@ begin
for r := 0 to 7 do for r := 0 to 7 do
begin begin
If SigCheck[r] <> Signature[r] then If SigCheck[r] <> Signature[r] then
raise PNGImageException.Create('This is not PNG-data'); Exit(false);
end; end;
// Check IHDR // Check IHDR
ReadChunk; ReadChunk;