Closed Xunie closed 4 years ago
I see that I accidentally added a wild newline in src/tracker/SectionSamples.cpp
just before the malloc
.
Looks good to me - I amended it to remove the stray newline you mentioned and cherry-picked it into master.
Thankyou!
Fix for: https://github.com/milkytracker/MilkyTracker/issues/191
I have no idea if this bugfix doesn't introduce more bugs, I don't even know how to test if
formatMillisFraction
works. ButformatMillis
seems to!I'm also not sure if replacing those
sprintf
withsnprintf
is a good idea with regards to the future of the codebase.But hey, it works for me!