소스 검색

* fixed TCustomInifile.WriteBinaryStream

git-svn-id: trunk@7135 -
ivost 18 년 전
부모
커밋
013277dd01
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-base/src/inc/inifiles.pp

+ 1 - 1
packages/fcl-base/src/inc/inifiles.pp

@@ -514,7 +514,7 @@ begin
       begin
       PB:=M.Memory;
       PC:=PChar(S);
-      For I:=1 to Length(S) do
+      For I:=1 to Length(S) div 2 do
         begin
         H:=HexStr(PB^,2);
         PC[0]:=H[1];