Procházet zdrojové kódy

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

git-svn-id: trunk@38018 -
michael před 7 roky
rodič
revize
d1bba7ec3d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;