1
0
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:
businessmanprogrammersteve 2010-02-03 15:54:37 +00:00
parent dbc4aab314
commit bd88beaf24

View File

@ -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;
}