aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-01-27 00:08:55 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-01-27 00:08:55 +0100
commitebbca0d1158ca7ab599710a01acd0302d599be09 (patch)
tree8f82b91c4e5de8b416436eb170a7f54e76db1c95
parentebea1993e719fa458d0a947641adfd81670b4154 (diff)
downloadsynthpod-ebbca0d1158ca7ab599710a01acd0302d599be09.tar.xz
sbox: fix small logic bug.
-rw-r--r--VERSION2
-rw-r--r--sandbox_ui.lv2/sandbox_slave.c9
2 files changed, 5 insertions, 6 deletions
diff --git a/VERSION b/VERSION
index 2cfd7197..049763f4 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.6421
+0.1.6427
diff --git a/sandbox_ui.lv2/sandbox_slave.c b/sandbox_ui.lv2/sandbox_slave.c
index 0c01f5aa..d545d1ad 100644
--- a/sandbox_ui.lv2/sandbox_slave.c
+++ b/sandbox_ui.lv2/sandbox_slave.c
@@ -1113,11 +1113,10 @@ sandbox_slave_instantiate(sandbox_slave_t *sb, const LV2_Feature *parent_feature
if(sb->host_resize.ui_resize)
{
features[i++] = &resize_feature;
-
- if(parent_feature)
- {
- features[i++] = parent_feature;
- }
+ }
+ if(parent_feature)
+ {
+ features[i++] = parent_feature;
}
if(dsp_instance)
{