From 08bef63918a0fbbec07fa433eec679971c2bac0d Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 14 Oct 2015 16:39:24 -0400 Subject: [PATCH] core/tags/track: Add a space before title I noticed that tracks beginning with a number were getting combined with the seconds field, creating an inaccurate seconds count and modifying the title at the same time. Signed-off-by: Anna Schumaker --- core/tags/track.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tags/track.cpp b/core/tags/track.cpp index af85fc8f..1f57804f 100644 --- a/core/tags/track.cpp +++ b/core/tags/track.cpp @@ -143,7 +143,7 @@ void Track :: read(file &file) void Track :: write(file &file) { - file_writef(&file, "%u %u %u %u %u %u %u %u %u %u", _library->index(), + file_writef(&file, "%u %u %u %u %u %u %u %u %u %u ", _library->index(), _artist->index(), _album->index(), _genre->index(), _track, _date.year, _date.month, _date.day, _count, _length); GenericTag :: write(file);