Add a null check to ports when loading an export channel from xml + fix indentation...
[ardour.git] / libs / ardour / midi_patch_manager.cc
index a2522fe997099ba2fec55a04ef15156f070632c5..2c2f36daa67e389e2278d243cf49924ce1dd4359 100644 (file)
@@ -65,7 +65,7 @@ MidiPatchManager::refresh()
 
        assert(is_directory(path_to_patches));
 
-       Glib::PatternSpec pattern(Glib::ustring("*.midnam"));
+       Glib::PatternSpec pattern(string("*.midnam"));
        vector<path> result;
 
        find_matching_files_in_directory(path_to_patches, pattern, result);