diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:47:04 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:47:04 +0000 |
commit | 3a1b3e3807609434bf3f392b6b1f66ac218e265c (patch) | |
tree | 941a53eeea69e54254ece4689de271b6556496b4 /src/log.c | |
parent | e213ca4f8bf7b5cf309d6735a64fd799009d398c (diff) | |
download | mpd-3a1b3e3807609434bf3f392b6b1f66ac218e265c.tar.gz mpd-3a1b3e3807609434bf3f392b6b1f66ac218e265c.tar.xz mpd-3a1b3e3807609434bf3f392b6b1f66ac218e265c.zip |
playlist: don't allow no-op/senseless movement of songs
This disables moving the bonkered moving of the current song to
a (negative) offset of itself (introduced in the last commit).
This also short circuits no-op moves when (from == to) and
avoid needless increasing of the playlist version and causes
clients to issue pointless no-op plchanges commands.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7153 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/log.c')
0 files changed, 0 insertions, 0 deletions