1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 04:19:55 +01:00

Update deprecated function call.

This commit is contained in:
John Maguire 2013-11-22 12:08:24 +00:00
parent cc43e339c1
commit e7c63fdfb9

View File

@ -593,7 +593,7 @@ normalize (gdouble *vals, guint numvals)
delta = 1.f;
for (i = 0; i < numvals; i++)
vals[i] = finite (vals[i]) ? MIN(1.f, MAX(0.f, (vals[i] - mini) / delta))
vals[i] = isfinite (vals[i]) ? MIN(1.f, MAX(0.f, (vals[i] - mini) / delta))
: 0.f;
}