summaryrefslogtreecommitdiff
path: root/libs/ardour/audio_playlist_importer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/audio_playlist_importer.cc')
-rw-r--r--libs/ardour/audio_playlist_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audio_playlist_importer.cc b/libs/ardour/audio_playlist_importer.cc
index cb6bbed907..3f773fc0a9 100644
--- a/libs/ardour/audio_playlist_importer.cc
+++ b/libs/ardour/audio_playlist_importer.cc
@@ -170,7 +170,7 @@ AudioPlaylistImporter::_prepare_move ()
{
// Rename
while (session.playlists->by_name (name) || !handler.check_name (name)) {
- std::pair<bool, string> rename_pair = Rename (_("A playlist with this name already exists, please rename it."), name);
+ std::pair<bool, string> rename_pair = *Rename (_("A playlist with this name already exists, please rename it."), name);
if (!rename_pair.first) {
return false;
}