diff options
Diffstat (limited to '')
-rw-r--r-- | src/strfsong.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/strfsong.c b/src/strfsong.c index fcaf4ada1..cef2056c8 100644 --- a/src/strfsong.c +++ b/src/strfsong.c @@ -23,7 +23,6 @@ */ #include "strfsong.h" -#include "support.h" #include "charset.h" #include <string.h> @@ -171,7 +170,7 @@ _strfsong(gchar *s, if( strstr(song->file, "://") ) temp = utf8_to_locale(song->file); else - temp = utf8_to_locale(basename(song->file)); + temp = utf8_to_locale(g_basename(song->file)); } else if (strncmp("%time%", p, n) == 0) { if (song->time != MPD_SONG_NO_TIME) { if (song->time > 3600) { |