From c85467d4371aa99e4f9e529d82e0d1899e6835ea Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 17 Sep 2006 10:44:35 +0000 Subject: 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 --- apps/plugins/viewer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/viewer.c') 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) -- cgit v1.2.3