diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-11 00:16:49 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-11 00:16:49 +0000 |
commit | 1157b5d332eb12a8481198891b724dfae3cf5a92 (patch) | |
tree | 06a434b7bd9f0fac07dfe1d4aa5a81883e2cf2f2 /src/directory.c | |
parent | 31d44ea77584e9118c367b8ab0569dc5d41f826a (diff) | |
download | mpd-1157b5d332eb12a8481198891b724dfae3cf5a92.tar.gz mpd-1157b5d332eb12a8481198891b724dfae3cf5a92.tar.xz mpd-1157b5d332eb12a8481198891b724dfae3cf5a92.zip |
move time back into MpdTag
git-svn-id: https://svn.musicpd.org/mpd/trunk@250 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c index 016ce376d..673754044 100644 --- a/src/directory.c +++ b/src/directory.c @@ -803,7 +803,7 @@ int directoryPrintSongInfo(FILE * fp, Song * song, void * data) { int sumSongTime(FILE * fp, Song * song, void * data) { unsigned long * time = (unsigned long *)data; - if(song->time>=0) *time+=song->time; + if(song->tag && song->tag->time>=0) *time+=song->tag->time; return 0; } |