Explorar o código

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

git-svn-id: trunk@45190 -
michael %!s(int64=5) %!d(string=hai) anos
pai
achega
42bfe6d45f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;