aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-03-20 20:12:53 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-03-20 20:12:53 +0000
commit80dea151847fae6afd500cd3db8e16c79c192911 (patch)
tree24b1fe6a99cfd57a4864e66cdc92cc6ef72ae424
parent6450bbc096a1076ce6001e33ee4e910bfdec5314 (diff)
downloadmpd-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
-rw-r--r--src/tag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index 7415837fe..a98225739 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -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],