summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-09-13 15:27:48 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-09-13 15:27:48 +0000
commit8b837a83b4c50b3b5c374f52c98e21481f2ce584 (patch)
treeb98eb94dcfeaac4a1414afd01aaea7385955abb3 /apps
parent8ce651efa067fbfc714fa958ea29df97fae960cc (diff)
downloadrockbox-8b837a83b4c50b3b5c374f52c98e21481f2ce584.tar.gz
rockbox-8b837a83b4c50b3b5c374f52c98e21481f2ce584.zip
Draw on_screen as soon as any ON+key is pressed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2291 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/wps.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/wps.c b/apps/wps.c
index cc826cab00..c1ffa672b9 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -633,15 +633,10 @@ int on_screen(void)
633 static int pitch = 100; 633 static int pitch = 100;
634 bool exit = false; 634 bool exit = false;
635 bool used = false; 635 bool used = false;
636#ifdef SIMULATOR
637 bool draw = true;
638#else
639 bool draw = false;
640#endif
641 636
642 while (!exit) { 637 while (!exit) {
643 638
644 if ( draw ) { 639 if ( used ) {
645 char* ptr; 640 char* ptr;
646 char buf[32]; 641 char buf[32];
647 int w, h; 642 int w, h;
@@ -720,7 +715,6 @@ int on_screen(void)
720 break; 715 break;
721 716
722 case BUTTON_ON | BUTTON_REPEAT: 717 case BUTTON_ON | BUTTON_REPEAT:
723 draw = true;
724 used = true; 718 used = true;
725 break; 719 break;
726 720