diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-09-17 10:44:35 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-09-17 10:44:35 +0000 |
commit | c85467d4371aa99e4f9e529d82e0d1899e6835ea (patch) | |
tree | 02521749dbce5347de83a1ca8c691962f97741fb | |
parent | c4c058386fb1950e70e051bf7effaf521cbd6ae5 (diff) |
woops! ok, only rmember the last 10 files, some trickery can be added later to increase this limit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10970 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/viewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index dd8ac3de14..866f0ccff7 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -37,7 +37,7 @@ PLUGIN_HEADER #define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE)) #define SCROLLBAR_WIDTH 6 -#define MAX_BOOKMARKED_FILES ((signed)BUFFER_SIZE/(signed)sizeof(struct bookmarked_file_info)) +#define MAX_BOOKMARKED_FILES 10/*((signed)BUFFER_SIZE/(signed)sizeof(struct bookmarked_file_info))*/ /* Out-Of-Bounds test for any pointer to data in the buffer */ #define BUFFER_OOB(p) ((p) < buffer || (p) >= buffer_end) |