madmaxoft / SkauTan

Music player for Skautské Tancování
https://skautske-tancovani.cz/
The Unlicense
1 stars 2 forks source link

Fixed random song choice. #80

Closed madmaxoft closed 6 years ago

madmaxoft commented 6 years ago

Use C++11 random facilities for random number generation. The old code was capped at RAND_MAX, which could be as low as 32768, hence the repeats.

Fixes #79.