Changeset 48 for trunk/UGame.pas
- Timestamp:
- Nov 3, 2019, 10:39:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r47 r48 170 170 WriteInteger('Count', Count); 171 171 for I := 0 to Count - 1 do begin 172 Items[I].SaveToRegistry(Reg, TRegistryContext.Create(RegContext.RootKey, RegContext.Key + ' /' + IntToStr(I)));172 Items[I].SaveToRegistry(Reg, TRegistryContext.Create(RegContext.RootKey, RegContext.Key + '\' + IntToStr(I))); 173 173 end; 174 174 end; … … 184 184 for I := 0 to Count - 1 do begin 185 185 Items[I] := THistoryMove.Create; 186 THistoryMove(Items[I]).LoadFromRegistry(Reg, TRegistryContext.Create(RegContext.RootKey, RegContext.Key + ' /' + IntToStr(I)));186 THistoryMove(Items[I]).LoadFromRegistry(Reg, TRegistryContext.Create(RegContext.RootKey, RegContext.Key + '\' + IntToStr(I))); 187 187 end; 188 188 end;
Note:
See TracChangeset
for help on using the changeset viewer.