mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Fix progress indicator again: must do a floating-point division...
... or else just get zero!
This commit is contained in:
@@ -125,7 +125,9 @@ bool CompareAudioCommand::Apply(CommandExecutionContext context)
|
||||
}
|
||||
|
||||
position += block;
|
||||
Progress((position - s0) / length);
|
||||
Progress(
|
||||
double(position - s0) / double(length)
|
||||
);
|
||||
}
|
||||
|
||||
delete [] buff0;
|
||||
|
Reference in New Issue
Block a user