summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-12 22:52:19 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-12 22:52:19 +0000
commite33d66a3ac5fe9f89b1fcd811b75edb03fb6470a (patch)
tree7957da6c8e39d5420c0412bb85173db100edf42b /apps/playlist.c
parentb2a691a2b2d24dd1a8b6e311f72c592bdf41782c (diff)
downloadrockbox-e33d66a3ac5fe9f89b1fcd811b75edb03fb6470a.tar.gz
rockbox-e33d66a3ac5fe9f89b1fcd811b75edb03fb6470a.zip
Tell user when limits are reached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1692 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 92a7ad979b..0d9df36e32 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -293,6 +293,14 @@ void add_indices_to_playlist(void)
293 if ( playlist.amount >= MAX_PLAYLIST_SIZE ) { 293 if ( playlist.amount >= MAX_PLAYLIST_SIZE ) {
294 if(!playlist.in_ram) 294 if(!playlist.in_ram)
295 close(fd); 295 close(fd);
296
297 lcd_clear_display();
298 lcd_puts(0,0,"10000 file");
299 lcd_puts(0,1,"limit reached");
300 lcd_update();
301 sleep(HZ*2);
302 lcd_clear_display();
303
296 return; 304 return;
297 } 305 }
298 306