summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-04-23 11:26:25 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-04-23 11:26:25 +0000
commit942bc9449ea587fc3d50a468da56df32baf0748f (patch)
treeca3731dfb763dbb299fe0edb41fa019263b588a0 /apps/wps-display.c
parent10fd7b6c3b3ed8bfd15ec1a6b67aaff3c4cf2a69 (diff)
downloadrockbox-942bc9449ea587fc3d50a468da56df32baf0748f.tar.gz
rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.zip
Only redraw the status line when info actually changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index e6cf65a260..c35ba8675c 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -801,7 +801,7 @@ bool wps_display(struct mp3entry* id3)
801#endif 801#endif
802 global_settings.resume_index = -1; 802 global_settings.resume_index = -1;
803 status_set_playmode(STATUS_STOP); 803 status_set_playmode(STATUS_STOP);
804 status_draw(); 804 status_draw(true);
805 sleep(HZ); 805 sleep(HZ);
806 return true; 806 return true;
807 } 807 }
@@ -827,7 +827,7 @@ bool wps_display(struct mp3entry* id3)
827 } 827 }
828 yield(); 828 yield();
829 wps_refresh(id3, 0, WPS_REFRESH_ALL); 829 wps_refresh(id3, 0, WPS_REFRESH_ALL);
830 status_draw(); 830 status_draw(true);
831 lcd_update(); 831 lcd_update();
832 return false; 832 return false;
833} 833}