clutter/keyframe-transition: Properly compare keys

This commit is contained in:
Niels De Graef 2018-11-12 15:06:49 +01:00
parent 2a4f1be81b
commit 9fb46cca55

View File

@ -119,7 +119,7 @@ sort_by_key (gconstpointer a,
if (fabs (k_a->key - k_b->key) < 0.0001)
return 0;
if (k_a->key > k_a->key)
if (k_a->key > k_b->key)
return 1;
return -1;