diff options
author | Max Kellermann <max@musicpd.org> | 2017-11-27 23:02:45 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-11-27 23:02:45 +0100 |
commit | 087fcc4e6e4c21bd095ec997ad27da98e5b59f35 (patch) | |
tree | de792c3d8e1d586ca1891cc79748fbbc66f804d8 /src/queue | |
parent | 520c520512a2063c6241ac8c63710850e5f74a25 (diff) |
queue/Save: fix inverted check
That '!' accidently got lost in commit
75582d47b951ae9bf45c940a62e657831a5175c1
D'oh!
Closes #162
Diffstat (limited to 'src/queue')
-rw-r--r-- | src/queue/QueueSave.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); |