summaryrefslogtreecommitdiffstats
path: root/src/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port.c')
-rw-r--r--src/port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port.c b/src/port.c
index 8aa4c59..c143b31 100644
--- a/src/port.c
+++ b/src/port.c
@@ -232,7 +232,7 @@ lilv_port_get_scale_points(const LilvPlugin* p,
p->world->rdfs_label_node);
if (value && label) {
- lilv_array_append(ret, lilv_scale_point_new(value, label));
+ zix_tree_insert(ret, lilv_scale_point_new(value, label), NULL);
}
}
lilv_match_end(points);