Skip to content

Commit

Permalink
StPlayList::remove() - fix misprint in condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gkv311 committed May 23, 2017
1 parent c9bf4bc commit 006f36c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StShared/StPlayList.cpp
Expand Up @@ -587,9 +587,9 @@ bool StPlayList::remove(const StString& thePath,
}

if(myCurrent != NULL) {
if(aRemItem->getPlayedFlag() != aPlayedFlag) {
if(myCurrent->getPlayedFlag() != aPlayedFlag) {
// the item has not been played yet - mark it as such
aRemItem->setPlayedFlag(aPlayedFlag);
myCurrent->setPlayedFlag(aPlayedFlag);
} else {
// one played item has been removed
--myPlayedCount;
Expand Down

0 comments on commit 006f36c

Please sign in to comment.