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