Merge pull request #954 from NeroBurner/music_initialize_lastLength

Music: initialize totalLength to have non-random data from the start
This commit is contained in:
JF
2022-01-26 22:01:07 +01:00
committed by GitHub

View File

@@ -69,7 +69,7 @@ namespace Pinetime {
std::string track;
/** Total length in seconds */
int totalLength;
int totalLength = 0;
/** Current length in seconds */
int currentLength;
/** Last length */