[mutter/wip/nielsdg/small-fixes: 2/3] keyframe-transition: properly compare keys on sort.
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/nielsdg/small-fixes: 2/3] keyframe-transition: properly compare keys on sort.
- Date: Mon, 12 Nov 2018 14:11:54 +0000 (UTC)
commit 11c3a4059e5787cee0868e8d1fb0c753fa0f5e61
Author: Niels De Graef <Niels DeGraef barco com>
Date: Mon Nov 12 15:06:49 2018 +0100
keyframe-transition: properly compare keys on sort.
clutter/clutter/clutter-keyframe-transition.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/clutter/clutter/clutter-keyframe-transition.c b/clutter/clutter/clutter-keyframe-transition.c
index e53d78679..d278109cb 100644
--- a/clutter/clutter/clutter-keyframe-transition.c
+++ b/clutter/clutter/clutter-keyframe-transition.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]