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:
parent
cc43e339c1
commit
e7c63fdfb9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user