aboutsummaryrefslogtreecommitdiffstats
path: root/src/Queue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-22 00:41:57 +0200
committerMax Kellermann <max@duempel.org>2013-10-22 00:59:56 +0200
commitfc05768374ac839e7725506fe0a089fc2bfdf124 (patch)
tree99d804c55ef01eaa5d491c74b45197ea5773dd25 /src/Queue.cxx
parent03b57df6308a7f84e0e597c3687e7adfc512c630 (diff)
downloadmpd-fc05768374ac839e7725506fe0a089fc2bfdf124.tar.gz
mpd-fc05768374ac839e7725506fe0a089fc2bfdf124.tar.xz
mpd-fc05768374ac839e7725506fe0a089fc2bfdf124.zip
Queue: add method ModifyAtPosition()
Diffstat (limited to '')
-rw-r--r--src/Queue.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Queue.cxx b/src/Queue.cxx
index ea93e8157..017dfefc3 100644
--- a/src/Queue.cxx
+++ b/src/Queue.cxx
@@ -82,7 +82,7 @@ queue::ModifyAtOrder(unsigned _order)
assert(_order < length);
unsigned position = order[_order];
- items[position].version = version;
+ ModifyAtPosition(position);
}
void