diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-03-20 20:12:53 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-03-20 20:12:53 +0000 |
commit | 80dea151847fae6afd500cd3db8e16c79c192911 (patch) | |
tree | 24b1fe6a99cfd57a4864e66cdc92cc6ef72ae424 | |
parent | 6450bbc096a1076ce6001e33ee4e910bfdec5314 (diff) | |
download | mpd-80dea151847fae6afd500cd3db8e16c79c192911.tar.gz mpd-80dea151847fae6afd500cd3db8e16c79c192911.tar.xz mpd-80dea151847fae6afd500cd3db8e16c79c192911.zip |
Use SONG_TIME instead of literal "Time: " for consistency with db code.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5668 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/tag.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,6 +28,7 @@ #include "tagTracker.h" #include "mpd_types.h" #include "gcc.h" +#include "song.h" #include <sys/stat.h> #include <stdlib.h> @@ -120,7 +121,7 @@ void printMpdTag(int fd, MpdTag * tag) int i; if (tag->time >= 0) - fdprintf(fd, "Time: %i\n", tag->time); + fdprintf(fd, "%s%i\n", SONG_TIME, tag->time); for (i = 0; i < tag->numOfItems; i++) { fdprintf(fd, "%s: %s\n", mpdTagItemKeys[tag->items[i].type], |