* Fix from Ondrej Pokorny to fix reading large TIFFs (bug ID 36998)

git-svn-id: trunk@45190 -
This commit is contained in:
michael 2020-04-30 13:39:07 +00:00
parent 07e2d4e4c5
commit 42bfe6d45f

View File

@ -2373,7 +2373,7 @@ begin
if OldCode <> NoCode then
AddStringToTable(OldCode,Code);
OldCode:=Code;
end else if (Code=TableCount+258) and (OldCode <> NoCode) then begin
end else if {(Code=TableCount+258) and} (OldCode <> NoCode) then begin
WriteStringFromCode(OldCode,true);
AddStringToTable(OldCode,OldCode);
OldCode:=Code;