From 06166676885fc137301078cf880bad466f09a33a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 16:28:19 +0100 Subject: Main: glue_mapper_init() returns true if GetUserMusicDir() fails Not a fatal error. Fixes assertion failure. --- src/Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cxx b/src/Main.cxx index 9cbefdc56..10a9091a1 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -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)); -- cgit v1.2.3