소스 검색

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

git-svn-id: trunk@45190 -
michael 5 년 전
부모
커밋
42bfe6d45f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;