]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - playlist_selector.c
improved info text for the random selector.
[paraslash.git] / playlist_selector.c
index e5329bac5074f40a19277324adae4e94ed44e288..6f171d753ca8659bbfa71a0b174beb8cf4c5beee 100644 (file)
@@ -192,7 +192,7 @@ static char **pls_get_audio_file_list(unsigned int num)
        char **file_list;
        unsigned i;
 
        char **file_list;
        unsigned i;
 
-       num = MIN(num, playlist_len);
+       num = PARA_MIN(num, playlist_len);
        if (!num)
                return NULL;
        file_list = para_malloc((num + 1) * sizeof(char *));
        if (!num)
                return NULL;
        file_list = para_malloc((num + 1) * sizeof(char *));
@@ -318,7 +318,7 @@ int playlist_selector_init(struct audio_file_selector *db)
                goto err_out;
        ppd->client_data = shm;
        ppd->client_data->size = 0;
                goto err_out;
        ppd->client_data = shm;
        ppd->client_data->size = 0;
-       sprintf(mmd->selector_info, "playlist selector initialized");
+       sprintf(mmd->selector_info, "dbinfo1: playlist selector initialized\n");
        return 1;
 err_out:
        if (ppd->client_data_shm_id >= 0)
        return 1;
 err_out:
        if (ppd->client_data_shm_id >= 0)