فهرست منبع

+ Fixed readsectionvalues call

git-svn-id: trunk@53 -
michael 20 سال پیش
والد
کامیت
d52d586456
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      fcl/inc/inifiles.pp

+ 2 - 3
fcl/inc/inifiles.pp

@@ -655,9 +655,8 @@ begin
     oSection := FSectionList.SectionByName(Section);
     if oSection <> nil then with oSection.KeyList do
       for i := 0 to Count-1 do begin
-        s := Items[i].Value;
-        if s > '' then
-          Strings.Add(s);
+        s := Items[i].Ident+Separator+Items[i].Value;
+        Strings.Add(s);
       end;
   finally
     Strings.EndUpdate;