Skip to content

Commit

Permalink
queue/Save: fix inverted check
Browse files Browse the repository at this point in the history
That '!' accidently got lost in commit
75582d4

D'oh!

Closes #162
  • Loading branch information
MaxKellermann committed Nov 27, 2017
1 parent 520c520 commit 087fcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queue/QueueSave.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 087fcc4

Please sign in to comment.