summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3c905a)
raw | patch | inline | side by side (parent: e3c905a)
author | Kalle Wallin <kaw@linux.se> | |
Thu, 9 Dec 2004 15:38:22 +0000 (15:38 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Thu, 9 Dec 2004 15:38:22 +0000 (15:38 +0000) |
src/strfsong.c | patch | blob | history |
diff --git a/src/strfsong.c b/src/strfsong.c
index bac6d472f734fe8df06e8119382bbddb258074c3..4c2bf38d266fbe1ba9e1dca0b5828fc6d9dcc78a 100644 (file)
--- a/src/strfsong.c
+++ b/src/strfsong.c
else if (strncmp("%time%", p, n) == 0)
{
if (song->time != MPD_SONG_NO_TIME)
- temp = g_strdup_printf("%d:%d",
+ temp = g_strdup_printf("%d:%02d",
song->time / 60,
song->time % 60 + 1);
}