Mercurial > audlegacy
diff src/audacious/playlist.c @ 4060:21833104ed4c
fixed(URI-fied) "remove unavailable files"
author | Cristi Magherusan <majeru@atheme-project.org> |
---|---|
date | Tue, 04 Dec 2007 01:02:16 +0200 |
parents | 2082537138d0 |
children | 069d37422964 |
line wrap: on
line diff
--- a/src/audacious/playlist.c Mon Dec 03 09:54:19 2007 -0600 +++ b/src/audacious/playlist.c Tue Dec 04 01:02:16 2007 +0200 @@ -2740,9 +2740,7 @@ continue; } - /* FIXME: What about 'file:///'? */ - /* Don't kill URLs */ - if (strstr(entry->filename, "://")) + if (!g_str_has_prefix(entry->filename, "file://")) continue; /* FIXME: Should test for readability */