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:
commit
f38c559089
|
@ -69,7 +69,7 @@ namespace Pinetime {
|
||||||
std::string track;
|
std::string track;
|
||||||
|
|
||||||
/** Total length in seconds */
|
/** Total length in seconds */
|
||||||
int totalLength;
|
int totalLength = 0;
|
||||||
/** Current length in seconds */
|
/** Current length in seconds */
|
||||||
int currentLength;
|
int currentLength;
|
||||||
/** Last length */
|
/** Last length */
|
||||||
|
|
Loading…
Reference in a new issue