Browse Source

* Fix bug ID #37483, correct closesection, patch by C. Western

git-svn-id: trunk@47410 -
michael 4 years ago
parent
commit
88db3fb502
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-registry/src/regini.inc

+ 1 - 0
packages/fcl-registry/src/regini.inc

@@ -318,5 +318,6 @@ end;
 procedure TRegIniFile.CloseSection;
 procedure TRegIniFile.CloseSection;
 begin
 begin
   CloseKey(CurrentKey);
   CloseKey(CurrentKey);
+  fCurrentKey:=0;
 end;
 end;