aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlaylist.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:59:17 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 00:47:45 +0200
commit0823711106912fc75f1bdb2461243b12ba670f8b (patch)
treeee2bc012a9c3fb8e25b149a0b8f19d2421795256 /src/DatabasePlaylist.cxx
parent860e9eb8c9ad07721aad4526046753d6fcc3b3ac (diff)
downloadmpd-0823711106912fc75f1bdb2461243b12ba670f8b.tar.gz
mpd-0823711106912fc75f1bdb2461243b12ba670f8b.tar.xz
mpd-0823711106912fc75f1bdb2461243b12ba670f8b.zip
locate: add a per-item "fold_case" flag
Merge locate_song_search() and locate_song_match().
Diffstat (limited to '')
-rw-r--r--src/DatabasePlaylist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DatabasePlaylist.cxx b/src/DatabasePlaylist.cxx
index c1524a335..bdd55fc5a 100644
--- a/src/DatabasePlaylist.cxx
+++ b/src/DatabasePlaylist.cxx
@@ -55,7 +55,7 @@ SearchAddSong(const char *playlist_path_utf8,
const struct locate_item_list *criteria,
song &song, GError **error_r)
{
- return !locate_song_search(&song, criteria) ||
+ return !locate_list_song_match(&song, criteria) ||
spl_append_song(playlist_path_utf8, &song, error_r);
}