Changeset 28 for trunk/UProject.pas


Ignore:
Timestamp:
Apr 7, 2016, 7:01:24 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Dynamically calculate sector count from drive size and sector size.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UProject.pas

    r19 r28  
    120120    with RootNode do begin
    121121      DriveInfo.SectorSize := ReadInteger(RootNode, 'SectorSize', 4096);
    122       DriveInfo.SectorCount := ReadInteger(RootNode, 'SectorCount', 0);
    123122      ScanProfile.SectorCount := DriveInfo.SectorCount;
    124123      DriveInfo.Model := ReadString(RootNode, 'DriveName', '');
Note: See TracChangeset for help on using the changeset viewer.