summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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