Jelajahi Sumber

* Fix bug #33052, stripquotes is removed accidentally in TIniFile constructor call of inherited

git-svn-id: trunk@38018 -
michael 7 tahun lalu
induk
melakukan
d1bba7ec3d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/fcl-base/src/inifiles.pp

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

@@ -933,7 +933,7 @@ constructor TIniFile.Create(const AFileName: string; AOptions: TIniFileoptions);
 begin
   FBOM := '';
   If Not (self is TMemIniFile) then
-    StripQuotes:=True;
+    Include(AOptions,ifoStripQuotes);
   inherited Create(AFileName,AOptions);
   FStream := nil;
   ReadIniValues;