summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/music_gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp
index 7bf08fd1d..87a073b0a 100644
--- a/src/music_gui.cpp
+++ b/src/music_gui.cpp
@@ -173,6 +173,9 @@ void MusicSystem::ChangeMusicSet(const char *set_name)
{
BaseMusic::SetSet(set_name);
+ free(BaseMusic::ini_set);
+ BaseMusic::ini_set = stredup(set_name);
+
this->BuildPlaylists();
this->ChangePlaylist(this->selected_playlist);