queue/Save: fix inverted check

That '!' accidently got lost in commit
75582d47b9

D'oh!

Closes #162
This commit is contained in:
Max Kellermann 2017-11-27 23:02:45 +01:00
parent 520c520512
commit 087fcc4e6e

View File

@ -114,7 +114,7 @@ queue_load_song(TextFile &file, const SongLoader &loader,
song = std::make_unique<DetachedSong>(uri);
}
if (playlist_check_translate_song(*song, nullptr, loader))
if (!playlist_check_translate_song(*song, nullptr, loader))
return;
queue.Append(std::move(*song), priority);