ソースを参照

* 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];