Changeset 16991 for titan/titan/playlist.h
- Timestamp:
- 07/06/12 17:07:48 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/playlist.h
r16662 r16991 518 518 if(maxfiles < 1) return NULL; 519 519 520 srand(time(NULL)); 521 int r = rand() % maxfiles; 520 int r = getrandom(maxfiles); 522 521 r++; 523 522 … … 557 556 if(max < 1) return NULL; 558 557 559 srand(time(NULL)); 560 int r = rand() % max; 558 int r = getrandom(max); 561 559 r++; 562 560
Note: See TracChangeset
for help on using the changeset viewer.