diff options
author | Robin Gareus <robin@gareus.org> | 2014-03-09 00:36:13 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-03-09 00:36:13 +0100 |
commit | 611dc796de1f822d19bbe0329d83b11c470205a8 (patch) | |
tree | 80bf8df2e6ba9c172bc7b0ed3b3f1c910d36c0ee /libs/ardour/vst_info_file.cc | |
parent | 551993b96c6f3f637aad2a72a38b5a9c1a6864f5 (diff) |
fix reading VST shell-plugin .fsi cache
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r-- | libs/ardour/vst_info_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc index 07c1f56543..90076815b3 100644 --- a/libs/ardour/vst_info_file.cc +++ b/libs/ardour/vst_info_file.cc @@ -251,7 +251,7 @@ vstfx_load_info_file (FILE* fp, vector<VSTInfo*> *infos) } else { int plugin_cnt = 0; vstfx_free_info(info); - if (read_int (fp, &plugin_cnt)) { + if (!read_int (fp, &plugin_cnt)) { for (int i = 0; i < plugin_cnt; i++) { if ((info = (VSTInfo*) calloc (1, sizeof (VSTInfo))) == 0) { vstfx_clear_info_list(infos); |