Explorar o código

* fixed TCustomInifile.WriteBinaryStream

git-svn-id: trunk@7135 -
ivost %!s(int64=18) %!d(string=hai) anos
pai
achega
013277dd01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];