From 5e46108e9557d9d8fe8442c807906d5b3e20c6d1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 26 Aug 2019 23:12:46 +0200 Subject: [PATCH] Fix LV2 option size --- libs/ardour/lv2_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 48e3901ecc..f221514e77 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -536,7 +536,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate) { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://lv2plug.in/ns/extensions/ui#foregroundColor"), sizeof(int32_t), atom_Int, &_ui_foreground_color }, { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id("http://lv2plug.in/ns/extensions/ui#scaleFactor"), - sizeof(int32_t), atom_Float, &_ui_scale_factor }, + sizeof(float), atom_Float, &_ui_scale_factor }, { LV2_OPTIONS_INSTANCE, 0, 0, 0, 0, NULL } };