Ignore:
Timestamp:
Jan 15, 2017, 5:04:32 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Changed registry key path '\SOFTWARE\C-evo'.
  • Modified: Use everythere same root registry key constant AppRegistryKey.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r73 r74  
    34113411  with Reg do
    34123412  try
    3413     OpenKey('SOFTWARE\cevo\RegVer9', false);
     3413    OpenKey(AppRegistryKey, false);
    34143414    if ValueExists('TileWidth') then xxt := ReadInteger('TileWidth') div 2
    34153415      else xxt := 48;
     
    34233423      else CityRepMask := Cardinal(not chPopIncrease and not chNoGrowthWarning and
    34243424          not chCaptured);
    3425     CloseKey;
    34263425    if OptionChecked and (7 shl 16) = 0 then
    34273426      OptionChecked := OptionChecked or (1 shl 16);
     
    79937992  with Reg do
    79947993  try
    7995     OpenKey('SOFTWARE\cevo\RegVer9', true);
     7994    OpenKey(AppRegistryKey, true);
    79967995    WriteInteger('TileWidth', xxt * 2);
    79977996    WriteInteger('TileHeight', yyt * 2);
     
    79997998    WriteInteger('MapOptionChecked', MapOptionChecked);
    80007999    WriteInteger('CityReport', integer(CityRepMask));
    8001     CloseKey;
    80028000  finally
    80038001    Free;
Note: See TracChangeset for help on using the changeset viewer.