aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}