Code

browser: use mpdclient_filelist_find_song() in set_highlight()
authorMax Kellermann <max@duempel.org>
Fri, 19 Sep 2008 12:48:22 +0000 (14:48 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 19 Sep 2008 12:48:22 +0000 (14:48 +0200)
commit28a463b53369e9f26d6fb0a755af588faac38e18
tree1f8fee58a4150bf122876889808eb55fcd249e0a
parentd13c5a10a758a453dce00990e58cff572c592be7
browser: use mpdclient_filelist_find_song() in set_highlight()

A song should not be twice in the browser.  Simplify set_highlight()
by finding the entry with mpdclient_filelist_find_song().
src/screen_browser.c