Fix assert when showing embedded LV2 plugin UI -- #8013

This commit is contained in:
Robin Gareus 2020-04-15 04:19:23 +02:00
parent a3af5e31f1
commit 9fac6139ea
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -390,7 +390,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title)
features[fi] = NULL;
#ifdef HAVE_LV2_1_17_2
assert (fi == features_count + (is_external_ui ? 3 : 1));
assert (fi == features_count + (is_external_ui ? 3 : 2));
#else
assert (fi == features_count + (is_external_ui ? 2 : 1));
#endif