diff options
Diffstat (limited to 'src/lib.c')
-rw-r--r-- | src/lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -87,8 +87,7 @@ lilv_lib_get_plugin(LilvLib* lib, uint32_t index) { if (lib->lv2_descriptor) { return lib->lv2_descriptor(index); - } - if (lib->desc) { + } else if (lib->desc) { return lib->desc->get_plugin(lib->desc->handle, index); } return NULL; |