summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2006-05-17 07:57:54 +0000
committerHardeep Sidhu <dyp@pobox.com>2006-05-17 07:57:54 +0000
commit06605a92c099d6958794b409034d87550abc6554 (patch)
tree8008fd3bd923f077476d4639d496a4c940fedccb /apps
parentb322af265ea6d036a7007d6d812efa6f2f4cd088 (diff)
downloadrockbox-06605a92c099d6958794b409034d87550abc6554.tar.gz
rockbox-06605a92c099d6958794b409034d87550abc6554.zip
Buffer margin was off by 1 causing corruption when page scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9953 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 2bbd2772f7..7c415f9559 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -54,7 +54,7 @@
54 54
55/* The number of items between the selected one and the end/start of 55/* The number of items between the selected one and the end/start of
56 * the buffer under which the buffer must reload */ 56 * the buffer under which the buffer must reload */
57#define MIN_BUFFER_MARGIN screens[0].nb_lines 57#define MIN_BUFFER_MARGIN (screens[0].nb_lines+1)
58 58
59/* Default playlist name for saving */ 59/* Default playlist name for saving */
60#define DEFAULT_VIEWER_PLAYLIST_NAME "/viewer.m3u" 60#define DEFAULT_VIEWER_PLAYLIST_NAME "/viewer.m3u"