From 72851647ca49c20e8c9cb4908273ce703c5f6aab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 28 Dec 2015 06:43:59 +0100 Subject: [PATCH] PlaylistError: fix NoSuchSong() code --- src/PlaylistError.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlaylistError.hxx b/src/PlaylistError.hxx index 4e62a199b..dc8595c30 100644 --- a/src/PlaylistError.hxx +++ b/src/PlaylistError.hxx @@ -51,7 +51,7 @@ public: } static PlaylistError NoSuchSong() { - return PlaylistError(PlaylistResult::BAD_RANGE, + return PlaylistError(PlaylistResult::NO_SUCH_SONG, "No such song"); }