Преглед на файлове

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

git-svn-id: trunk@38018 -
michael преди 7 години
родител
ревизия
d1bba7ec3d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;