diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-22 12:44:21 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-22 12:44:21 +0000 |
commit | 5a07733504e9d8e4243caae23f9d43bce6ef0da6 (patch) | |
tree | 6c33689fd26176772ca63a223fdc23a7548cd846 /mpc.c | |
parent | d15752f082af7e941cc55f5f71ea5cff1a6b4653 (diff) | |
download | mpd-5a07733504e9d8e4243caae23f9d43bce6ef0da6.tar.gz mpd-5a07733504e9d8e4243caae23f9d43bce6ef0da6.tar.xz mpd-5a07733504e9d8e4243caae23f9d43bce6ef0da6.zip |
Restored lost basename call.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@365 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -239,7 +239,7 @@ mpc_get_song_name(mpd_Song *song) return buf; } } - name = utf8_to_locale(song->file); + name = utf8_to_locale(basename(song->file)); strncpy(buf, name, MAX_SONG_LENGTH); free(name); return buf; |