Browse Source

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

git-svn-id: trunk@45190 -
michael 5 years ago
parent
commit
42bfe6d45f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-image/src/fpreadtiff.pas

+ 1 - 1
packages/fcl-image/src/fpreadtiff.pas

@@ -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;