Main: glue_mapper_init() returns true if GetUserMusicDir() fails

Not a fatal error.  Fixes assertion failure.
This commit is contained in:
Max Kellermann 2014-01-22 16:28:19 +01:00
parent 9747cc9e58
commit 0616667688

View File

@ -139,7 +139,7 @@ glue_mapper_init(Error &error)
if (music_dir.IsNull()) {
music_dir = GetUserMusicDir();
if (music_dir.IsNull())
return false;
return true;
}
mapper_init(std::move(music_dir), std::move(playlist_dir));