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
commit f38c559089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 */