From 087fcc4e6e4c21bd095ec997ad27da98e5b59f35 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 27 Nov 2017 23:02:45 +0100 Subject: [PATCH] queue/Save: fix inverted check That '!' accidently got lost in commit 75582d47b951ae9bf45c940a62e657831a5175c1 D'oh! Closes #162 --- src/queue/QueueSave.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue/QueueSave.cxx b/src/queue/QueueSave.cxx index af29b62b3..05d8e2e43 100644 --- a/src/queue/QueueSave.cxx +++ b/src/queue/QueueSave.cxx @@ -114,7 +114,7 @@ queue_load_song(TextFile &file, const SongLoader &loader, song = std::make_unique(uri); } - if (playlist_check_translate_song(*song, nullptr, loader)) + if (!playlist_check_translate_song(*song, nullptr, loader)) return; queue.Append(std::move(*song), priority);