summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2005-11-16 02:55:26 +0000
committerKevin Ferrare <kevin@rockbox.org>2005-11-16 02:55:26 +0000
commit6a53c33a8b958596ba86653e3c15ff52c004c764 (patch)
treeb1cf2db6a138d6564bd0a47f944fb578200598f9
parent8517ed8939b7323be8371cd902544154ade984b9 (diff)
downloadrockbox-6a53c33a8b958596ba86653e3c15ff52c004c764.tar.gz
rockbox-6a53c33a8b958596ba86653e3c15ff52c004c764.zip
fixed the warning and changed playlist max entries in buffer to 200 as it was before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7902 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/icon.h2
-rw-r--r--apps/playlist_viewer.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/gui/icon.h b/apps/gui/icon.h
index a9ae058ce9..1eefc4850c 100644
--- a/apps/gui/icon.h
+++ b/apps/gui/icon.h
@@ -25,7 +25,7 @@
25#ifdef HAVE_LCD_BITMAP 25#ifdef HAVE_LCD_BITMAP
26 typedef const unsigned char * ICON; 26 typedef const unsigned char * ICON;
27#else 27#else
28 typedef unsigned short ICON; 28 typedef short ICON;
29#endif 29#endif
30 30
31#define CURSOR_CHAR 0x92 31#define CURSOR_CHAR 0x92
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 58f27409b1..36acb9b897 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -47,7 +47,7 @@
47#include "splash.h" 47#include "splash.h"
48 48
49/* Maximum number of tracks we can have loaded at one time */ 49/* Maximum number of tracks we can have loaded at one time */
50#define MAX_PLAYLIST_ENTRIES 40 50#define MAX_PLAYLIST_ENTRIES 200
51 51
52/* The number of items between the selected one and the end/start of 52/* The number of items between the selected one and the end/start of
53 * the buffer under which the buffer must reload */ 53 * the buffer under which the buffer must reload */
@@ -598,7 +598,11 @@ void playlist_callback_icons(int selected_item, void * data, ICON * icon)
598#endif 598#endif
599 } 599 }
600 else 600 else
601#ifdef HAVE_LCD_BITMAP
601 *icon=0; 602 *icon=0;
603#else
604 *icon=-1;
605#endif
602} 606}
603 607
604 608