aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-11-10 18:23:44 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-11-10 18:23:44 +0000
commit732888a2e332829551049deb0a95d78b7733e2a0 (patch)
tree00627d5d5835760944af2761e718176f3ed8aabc
parentb2e85c6ed2e835b8ffca47a832ec0416616dd555 (diff)
downloadmpd-732888a2e332829551049deb0a95d78b7733e2a0.tar.gz
mpd-732888a2e332829551049deb0a95d78b7733e2a0.tar.xz
mpd-732888a2e332829551049deb0a95d78b7733e2a0.zip
oops do (*ptr)--, not *ptr--
git-svn-id: https://svn.musicpd.org/mpd/branches/r2562-metadata-handling-rewrite@2578 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/tagTracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tagTracker.c b/src/tagTracker.c
index 5e2b222c7..56480167b 100644
--- a/src/tagTracker.c
+++ b/src/tagTracker.c
@@ -54,7 +54,7 @@ void removeTagItemString(int type, char * string) {
assert(node);
if(node) {
int * countPtr = node->data;
- *countPtr--;
+ (*countPtr)--;
if(*countPtr <= 0) deleteNodeFromList(tagLists[type], node);
}