summaryrefslogtreecommitdiff
path: root/src/queue.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 16:17:16 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 16:17:16 +0100
commit032640f9e5427fa321827ae2b14b3066170c8fb7 (patch)
tree1ac34a1ea2fc6ba2a27bec5149e33123475b1d92 /src/queue.c
parentcf3a9ef065f9ce858a0ead39ed00085b4d1c863f (diff)
queue: update moved song versions
This patch fixes a regression introduced by commit aa9ffc.
Diffstat (limited to 'src/queue.c')
-rw-r--r--src/queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queue.c b/src/queue.c
index 30ecafeaa..983c5e43c 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -131,6 +131,7 @@ queue_move_song_to(struct queue *queue, unsigned from, unsigned to)
unsigned from_id = queue->items[from].id;
queue->items[to] = queue->items[from];
+ queue->items[to].version = queue->version;
queue->idToPosition[from_id] = to;
}