Mapper: improve usage of Path class

This commit is contained in:
Denis Krjuchkov
2013-01-24 00:38:09 +06:00
committed by Max Kellermann
parent a9b62a2ece
commit a3ee26da64
6 changed files with 44 additions and 46 deletions

View File

@@ -65,7 +65,7 @@ playlist_print_uri(FILE *file, const char *uri)
enum playlist_result
spl_save_queue(const char *name_utf8, const struct queue *queue)
{
if (map_spl_path() == NULL)
if (map_spl_path().IsNull())
return PLAYLIST_RESULT_DISABLED;
if (!spl_valid_name(name_utf8))