From a3ee26da6437dff2d065cc3fc2ad069447309ab6 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Thu, 24 Jan 2013 00:38:09 +0600 Subject: Mapper: improve usage of Path class --- src/PlaylistSave.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PlaylistSave.cxx') diff --git a/src/PlaylistSave.cxx b/src/PlaylistSave.cxx index e5b2a8f6..d165911a 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)) -- cgit v1.2.3