projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename struct audio format to audio_format_handler
[paraslash.git]
/
random_selector.c
diff --git
a/random_selector.c
b/random_selector.c
index a90822c54a690f234785079358f45cae7ff80218..ec1f5c6c53c39982cdf2ed488447598bcbfb59cd 100644
(file)
--- a/
random_selector.c
+++ b/
random_selector.c
@@
-98,7
+98,7
@@
static char **random_get_audio_file_list(unsigned int num)
goto out;
/* careful, files might got deleted underneath */
num_audio_files = audio_file_count; /* can only decrease */
goto out;
/* careful, files might got deleted underneath */
num_audio_files = audio_file_count; /* can only decrease */
- len = MIN(num, num_audio_files);
+ len =
PARA_
MIN(num, num_audio_files);
ret = -E_NOTHING_FOUND;
if (!len) /* nothing found, return NULL */
goto out;
ret = -E_NOTHING_FOUND;
if (!len) /* nothing found, return NULL */
goto out;