summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-25 15:09:26 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-25 15:09:26 +0200
commitdbe80fed40789b58890d70831f71a525585241b7 (patch)
tree8d85cfb7fd2896127dfb9c0fc8941ab250eb6e05 /playlist.c
parent5a59ffc070744e94675201d6e8164befec6d9813 (diff)
fixed issues with deletion of current track
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/playlist.c b/playlist.c
index 9ecbdecc..d486576a 100644
--- a/playlist.c
+++ b/playlist.c
@@ -1444,7 +1444,7 @@ void
pl_item_ref (playItem_t *it) {
LOCK;
it->_refc++;
- //trace ("\033[0;34m+it %p: refc=%d: %s\033[37;0m\n", it, it->_refc, it->fname);
+ trace ("\033[0;34m+it %p: refc=%d: %s\033[37;0m\n", it, it->_refc, it->fname);
UNLOCK;
}
@@ -1471,7 +1471,7 @@ void
pl_item_unref (playItem_t *it) {
LOCK;
it->_refc--;
- //trace ("\033[0;31m-it %p: refc=%d: %s\033[37;0m\n", it, it->_refc, it->fname);
+ trace ("\033[0;31m-it %p: refc=%d: %s\033[37;0m\n", it, it->_refc, it->fname);
if (it->_refc < 0) {
trace ("\033[0;31mplaylist: bad refcount on item %p\033[37;0m\n", it);
}