diff options
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -35,6 +35,8 @@ #include "messagepump.h" #include "messages.h" +#include "utf8.h" + extern GtkWidget *searchwin; struct playItem_s *search_current = NULL; int search_count = 0; @@ -65,7 +67,8 @@ on_searchentry_changed (GtkEditable *editable, if (*text) { for (playItem_t *it = playlist_head[PL_MAIN]; it; it = it->next[PL_MAIN]) { for (metaInfo_t *m = it->meta; m; m = m->next) { - if (strcasestr (m->value, text)) { +// if (strcasestr (m->value, text)) { + if (utfcasestr (m->value, text)) { // add to list it->next[PL_SEARCH] = NULL; if (playlist_tail[PL_SEARCH]) { |