fix typo
authorRobin Gareus <robin@gareus.org>
Mon, 5 Oct 2015 20:37:41 +0000 (22:37 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 5 Oct 2015 20:37:41 +0000 (22:37 +0200)
libs/ardour/plugin_manager.cc

index 3b14f146e5995c197ef13ccfd49e9f10bc8face7..72ee2745a43ff5c6aab4e02a0199984e8264b91a 100644 (file)
@@ -268,7 +268,7 @@ PluginManager::refresh (bool cache_only)
                        string fn = Glib::build_filename (ARDOUR::user_cache_directory(), VST_BLACKLIST);
                        if (Glib::file_test (fn, Glib::FILE_TEST_EXISTS)) {
                                gchar *bl = NULL;
-                               if (g_file_get_contents(fn.c_str (), contents, NULL, NULL)) {
+                               if (g_file_get_contents(fn.c_str (), bl, NULL, NULL)) {
                                        PBD::info << _("VST Blacklist:") << "\n" << bl << "-----" << endmsg;
                                        g_free (bl);
                                }