fix adding songs to playlist (broken by d82498ea)
This commit is contained in:
1 parent
c8c5aa079e
commit
b0943c28c2
1 file changed
+1
-1
+1
-1
@@ -411,7 +411,7 @@ void Connection::SetCrossfade(unsigned crossfade) const
|
||||
|
||||
int Connection::AddSong(const std::string &path)
|
||||
{
|
||||
if (itsConnection)
|
||||
if (!itsConnection)
|
||||
return -1;
|
||||
int id = -1;
|
||||
if (GetPlaylistLength() < itsMaxPlaylistLength)
|
||||
|
||||
Reference in new issue
Block a user