summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-10 13:07:27 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-10 13:07:27 +0200
commit9344960d7f34983d73fc3be55d74e7b7341b83bc (patch)
tree766683eb48ef80630182bba47f9c57e8ddaa2e80 /playlist.c
parent8c9f50ac3c86cf4bb890bd36a8cc8f7faeae8041 (diff)
fix selection in search window to be in sync with main list
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/playlist.c b/playlist.c
index c760f2a7..bfabc972 100644
--- a/playlist.c
+++ b/playlist.c
@@ -3469,8 +3469,8 @@ pl_search_reset (void) {
void
pl_search_process (const char *text) {
- pl_search_reset ();
GLOBAL_LOCK;
+ pl_search_reset ();
for (playItem_t *it = playlist->head[PL_MAIN]; it; it = it->next[PL_MAIN]) {
it->selected = 0;
if (*text) {