diff options
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 48ffede591..38e3eb4286 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -258,7 +258,7 @@ LV2Plugin::init(void* c_plugin, framecnt_t rate) _ui = this_ui; _ui_type = this_ui_type; break; - } + } } #else // Look for Gtk native UI @@ -460,8 +460,8 @@ LV2Plugin::lv2_persist_store_callback(void* host_data, _uri_map.id_to_uri(NULL, type))); LV2PersistState* state = (LV2PersistState*)host_data; - state->add_uri(key, _uri_map.id_to_uri(NULL, key)); - state->add_uri(type, _uri_map.id_to_uri(NULL, type)); + state->add_uri(key, _uri_map.id_to_uri(NULL, key)); + state->add_uri(type, _uri_map.id_to_uri(NULL, type)); return state->add_value(key, value, size, type, flags); } @@ -562,7 +562,7 @@ LV2Plugin::lv2_files_new_file_path(LV2_Files_Host_Data host_data, DEBUG_TRACE(DEBUG::LV2, string_compose("new file path %1 => %2\n", relative_path, path)); - + return g_strndup(path.c_str(), path.length()); } |