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
This commit is contained in:
parent
28c2a1e433
commit
c2c4852620
@ -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)
|
|||||||
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],
|
||||||
|
Loading…
Reference in New Issue
Block a user