summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-05-11 14:08:46 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-05-11 14:08:46 +0000
commit95be4febc87ab103d77ed41b2594691ae4f9f0ee (patch)
tree47c31e72f01754da23f09185d9e683b744999c2e /apps/screens.c
parentaff220c9f50229be955878d603d4c05df65fc605 (diff)
downloadrockbox-95be4febc87ab103d77ed41b2594691ae4f9f0ee.tar.gz
rockbox-95be4febc87ab103d77ed41b2594691ae4f9f0ee.zip
doh! fix yellow.
remove the calls to stop_scroll(), clear_viewport() does that nothing should be using screens[].nb_lines anymore... change the list code to be a good example. (playlist_viewer is the last thing using it which needs fixing) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17456 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c
index fc5c0053ec..a0e8c9b399 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -56,6 +56,7 @@
56#include "list.h" 56#include "list.h"
57#include "yesno.h" 57#include "yesno.h"
58#include "backdrop.h" 58#include "backdrop.h"
59#include "viewport.h"
59 60
60#ifdef HAVE_LCD_BITMAP 61#ifdef HAVE_LCD_BITMAP
61#include <bitmaps/usblogo.h> 62#include <bitmaps/usblogo.h>
@@ -546,7 +547,6 @@ bool set_time_screen(const char* title, struct tm *tm)
546 547
547 /* draw the screen */ 548 /* draw the screen */
548 screens[s].set_viewport(&vp[s]); 549 screens[s].set_viewport(&vp[s]);
549 screens[s].stop_scroll();
550 screens[s].clear_viewport(); 550 screens[s].clear_viewport();
551 /* display the screen title */ 551 /* display the screen title */
552 screens[s].puts_scroll(0, 0, title); 552 screens[s].puts_scroll(0, 0, title);