Mercurial > audlegacy
diff src/audacious/ui_jumptotrack_cache.c @ 4608:23a9ded30c70
Use str_assert_utf8() where it makes sense in the core.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Jun 2008 23:30:29 +0300 |
parents | ca077e01ed3a |
children | b87f8c707b7f |
line wrap: on
line diff
--- a/src/audacious/ui_jumptotrack_cache.c Wed Jun 04 23:26:23 2008 +0300 +++ b/src/audacious/ui_jumptotrack_cache.c Wed Jun 04 23:30:29 2008 +0300 @@ -302,7 +302,7 @@ } else { gchar *realfn = NULL; realfn = g_filename_from_uri(playlist_entry->filename, NULL, NULL); - gchar *tmp_title = str_to_utf8(realfn ? realfn : playlist_entry->filename); + gchar *tmp_title = str_assert_utf8(realfn ? realfn : playlist_entry->filename); title = normalize_search_string(tmp_title); g_free(tmp_title); g_free(realfn); realfn = NULL;