diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-15 03:26:15 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-15 03:26:15 +0000 |
commit | df3af7d4f121be6264c0ce307f4a75e844d7282c (patch) | |
tree | 0a1030dd9cc500cff146c56ae6b9a896f09fb2e5 /src/playlist.c | |
parent | 794799eaf42f401302ce7e0061ebed1741d2893b (diff) | |
download | mpd-df3af7d4f121be6264c0ce307f4a75e844d7282c.tar.gz mpd-df3af7d4f121be6264c0ce307f4a75e844d7282c.tar.xz mpd-df3af7d4f121be6264c0ce307f4a75e844d7282c.zip |
clean up a little bit main() code
git-svn-id: https://svn.musicpd.org/mpd/trunk@771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c index 1b01b4e4d..e7a5c8438 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -1053,8 +1053,8 @@ int savePlaylist(FILE * fp, char * utf8file) { for(i=0;i<playlist.length;i++) { if(playlist_saveAbsolutePaths) { - myfprintf(fileP,"%s%s\n",musicDir, - utf8ToFsCharset((playlist.songs[i])->utf8file)); + myfprintf(fileP,"%s\n",rmp2amp(utf8ToFsCharset(( + playlist.songs[i])->utf8file))); } else myfprintf(fileP,"%s\n", utf8ToFsCharset((playlist.songs[i])->utf8file)); |