aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSave.cxx
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-01-24 00:38:09 +0600
committerMax Kellermann <max@duempel.org>2013-01-26 01:14:13 +0100
commita3ee26da6437dff2d065cc3fc2ad069447309ab6 (patch)
tree8efa8f78910da1528d333561eb3f48881c34c4c3 /src/PlaylistSave.cxx
parenta9b62a2ece7f8b05bbb785edb47be8f37a19284e (diff)
downloadmpd-a3ee26da6437dff2d065cc3fc2ad069447309ab6.tar.gz
mpd-a3ee26da6437dff2d065cc3fc2ad069447309ab6.tar.xz
mpd-a3ee26da6437dff2d065cc3fc2ad069447309ab6.zip
Mapper: improve usage of Path class
Diffstat (limited to '')
-rw-r--r--src/PlaylistSave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistSave.cxx b/src/PlaylistSave.cxx
index e5b2a8f69..d165911a4 100644
--- a/src/PlaylistSave.cxx
+++ b/src/PlaylistSave.cxx
@@ -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))