Commit c2c48526 authored by J. Alexander Treuman's avatar J. Alexander Treuman

Doing those previous SONG_* commits properly. Thanks to normalperson for

pointing it out. git-svn-id: https://svn.musicpd.org/mpd/trunk@5673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 28c2a1e4
...@@ -1637,12 +1637,12 @@ static void PlaylistInfoPrintInfo(int fd, char *utf8file, char **erroredfile) ...@@ -1637,12 +1637,12 @@ static void PlaylistInfoPrintInfo(int fd, char *utf8file, char **erroredfile)
if (song) { if (song) {
printSongInfo(fd, song); printSongInfo(fd, song);
} else { } else {
fdprintf(fd, "%s%s\n", SONG_FILE, utf8file); fdprintf(fd, SONG_FILE "%s\n", utf8file);
} }
} }
static void PlaylistInfoPrint(int fd, char *utf8file, char **erroredfile) static void PlaylistInfoPrint(int fd, char *utf8file, char **erroredfile)
{ {
fdprintf(fd, "%s%s\n", SONG_FILE, utf8file); fdprintf(fd, SONG_FILE "%s\n", utf8file);
} }
static void PlaylistLoadIterFunc(int fd, char *temp, char **erroredFile) static void PlaylistLoadIterFunc(int fd, char *temp, char **erroredFile)
......
...@@ -121,7 +121,7 @@ void printMpdTag(int fd, MpdTag * tag) ...@@ -121,7 +121,7 @@ void printMpdTag(int fd, MpdTag * tag)
int i; int i;
if (tag->time >= 0) if (tag->time >= 0)
fdprintf(fd, "%s%i\n", SONG_TIME, tag->time); fdprintf(fd, SONG_TIME "%i\n", tag->time);
for (i = 0; i < tag->numOfItems; i++) { for (i = 0; i < tag->numOfItems; i++) {
fdprintf(fd, "%s: %s\n", mpdTagItemKeys[tag->items[i].type], fdprintf(fd, "%s: %s\n", mpdTagItemKeys[tag->items[i].type],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment