* Merging revisions r45190 from trunk:

------------------------------------------------------------------------
    r45190 | michael | 2020-04-30 15:39:07 +0200 (Thu, 30 Apr 2020) | 1 line
    
    * Fix from Ondrej Pokorny to fix reading large TIFFs (bug ID 36998)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@45194 -
This commit is contained in:
michael 2020-04-30 16:24:00 +00:00
parent 6166daf414
commit 561a02b4e1

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;