diff options
| author | JF <JF002@users.noreply.github.com> | 2022-01-26 21:01:07 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 21:01:07 (GMT) |
| commit | f38c55908901b40f7016bd7d5f5ecb6ba9027bb7 (patch) | |
| tree | 4fdafb6c8732b293a9fc90e9cc655ecf96fe751e | |
| parent | b12603448ccfa772aa3a8c8e1ce29fad0f323e7a (diff) | |
| parent | 314c02194a19016d83fb71a41f6f647959b7be1e (diff) | |
Merge pull request #954 from NeroBurner/music_initialize_lastLength
Music: initialize totalLength to have non-random data from the start
| -rw-r--r-- | src/displayapp/screens/Music.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Music.h b/src/displayapp/screens/Music.h index f9b4eaa..35f7bab 100644 --- a/src/displayapp/screens/Music.h +++ b/src/displayapp/screens/Music.h @@ -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 */ |
