From a06f287c81ae8ad1530c566788fc175c6c7d611a Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Mon, 17 Aug 2009 23:05:45 +0000 Subject: * Fix red * Make scrollbar width range from 3 -> LCD_WIDTH/10 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22389 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins') diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 948d6af..f2a3f9f 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -37,6 +37,8 @@ PLUGIN_HEADER #define TOP_SECTOR buffer #define MID_SECTOR (buffer + SMALL_BLOCK_SIZE) #define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE)) +#undef SCROLLBAR_WIDTH +#define SCROLLBAR_WIDTH rb->global_settings->scrollbar_width #define MAX_BOOKMARKED_FILES ((buffer_size/(signed)sizeof(struct bookmarked_file_info))-1) -- cgit v1.1