diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-08-17 23:05:45 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-08-17 23:05:45 +0000 |
commit | a06f287c81ae8ad1530c566788fc175c6c7d611a (patch) | |
tree | 1a03bb9d99cd4a94dc37579ea8b587230b06b8bb /apps/plugins | |
parent | 00b604814178b61fa720611fc10a602b15b7184c (diff) | |
download | rockbox-a06f287c81ae8ad1530c566788fc175c6c7d611a.tar.gz rockbox-a06f287c81ae8ad1530c566788fc175c6c7d611a.zip |
* 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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/viewer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 948d6af8c1..f2a3f9f029 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -37,6 +37,8 @@ PLUGIN_HEADER | |||
37 | #define TOP_SECTOR buffer | 37 | #define TOP_SECTOR buffer |
38 | #define MID_SECTOR (buffer + SMALL_BLOCK_SIZE) | 38 | #define MID_SECTOR (buffer + SMALL_BLOCK_SIZE) |
39 | #define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE)) | 39 | #define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE)) |
40 | #undef SCROLLBAR_WIDTH | ||
41 | #define SCROLLBAR_WIDTH rb->global_settings->scrollbar_width | ||
40 | 42 | ||
41 | #define MAX_BOOKMARKED_FILES ((buffer_size/(signed)sizeof(struct bookmarked_file_info))-1) | 43 | #define MAX_BOOKMARKED_FILES ((buffer_size/(signed)sizeof(struct bookmarked_file_info))-1) |
42 | 44 | ||