mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
Fix compile error in VS.
This commit is contained in:
parent
dbc4aab314
commit
bd88beaf24
@ -5761,7 +5761,7 @@ double TrackPanel::GridMove(double t, int minPix)
|
||||
double result;
|
||||
minPix >= 0 ? ttc.Increment() : ttc.Decrement();
|
||||
result = ttc.GetTimeValue();
|
||||
if (fabs(result - t) * mViewInfo->zoom >= fabs(minPix)) {
|
||||
if (fabs(result - t) * mViewInfo->zoom >= fabs((double)minPix)) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user