summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-17 23:23:57 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-17 23:23:57 +0000
commit3a62b56740856226e6debf6c2f7a6cdb0435db80 (patch)
tree323922355dd560a4d7b582f4263378679c624135
parent529e166888905b6ed5998c72148904d141845863 (diff)
downloadrockbox-3a62b56740856226e6debf6c2f7a6cdb0435db80.zip
rockbox-3a62b56740856226e6debf6c2f7a6cdb0435db80.tar.gz
rockbox-3a62b56740856226e6debf6c2f7a6cdb0435db80.tar.bz2
rockbox-3a62b56740856226e6debf6c2f7a6cdb0435db80.tar.xz
Now uses MAX_PATH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1378 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index f352cb8..59e0a78 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -21,13 +21,14 @@
#define __PLAYLIST_H__
#include <stdbool.h>
+#include "file.h"
/* playlist data */
#define MAX_PLAYLIST_SIZE 10000
typedef struct
{
- char filename[256]; /* path name of m3u playlist on disk */
+ char filename[MAX_PATH]; /* path name of m3u playlist on disk */
int indices[MAX_PLAYLIST_SIZE]; /* array of indices */
int index; /* index of *NEXT* track to play */
int seed; /* random seed */