diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 16:17:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 16:17:16 +0100 |
commit | 032640f9e5427fa321827ae2b14b3066170c8fb7 (patch) | |
tree | 1ac34a1ea2fc6ba2a27bec5149e33123475b1d92 | |
parent | cf3a9ef065f9ce858a0ead39ed00085b4d1c863f (diff) | |
download | mpd-032640f9e5427fa321827ae2b14b3066170c8fb7.tar.gz mpd-032640f9e5427fa321827ae2b14b3066170c8fb7.tar.xz mpd-032640f9e5427fa321827ae2b14b3066170c8fb7.zip |
queue: update moved song versions
This patch fixes a regression introduced by commit aa9ffc.
-rw-r--r-- | src/queue.c | 1 |
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; } |