summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c2
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
37#define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE)) 37#define BOTTOM_SECTOR (buffer + 2*(SMALL_BLOCK_SIZE))
38#define SCROLLBAR_WIDTH 6 38#define SCROLLBAR_WIDTH 6
39 39
40#define MAX_BOOKMARKED_FILES ((signed)BUFFER_SIZE/(signed)sizeof(struct bookmarked_file_info)) 40#define MAX_BOOKMARKED_FILES 10/*((signed)BUFFER_SIZE/(signed)sizeof(struct bookmarked_file_info))*/
41 41
42/* Out-Of-Bounds test for any pointer to data in the buffer */ 42/* Out-Of-Bounds test for any pointer to data in the buffer */
43#define BUFFER_OOB(p) ((p) < buffer || (p) >= buffer_end) 43#define BUFFER_OOB(p) ((p) < buffer || (p) >= buffer_end)