Changeset 2199 for trunk/eraser


Ignore:
Timestamp:
6/19/2010 2:09:45 AM (5 years ago)
Author:
lowjoel
Message:

Fixed progress calculation for securely moving files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs

    r2149 r2199  
    300300            SteppedProgressManager eraseProgress = new SteppedProgressManager(); 
    301301            Progress.Steps.Add(new SteppedProgressManagerStep(eraseProgress, 
    302                 (totalPasses - 1) / totalPasses, 
     302                (totalPasses - 1) / (float)totalPasses, 
    303303                S._("Erasing source files..."))); 
    304304            EraseFile(info, eraseProgress); 
Note: See TracChangeset for help on using the changeset viewer.