diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2003-04-23 11:26:25 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2003-04-23 11:26:25 +0000 |
| commit | 942bc9449ea587fc3d50a468da56df32baf0748f (patch) | |
| tree | ca3731dfb763dbb299fe0edb41fa019263b588a0 /apps/menu.c | |
| parent | 10fd7b6c3b3ed8bfd15ec1a6b67aaff3c4cf2a69 (diff) | |
| download | rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.zip rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.tar.gz rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.tar.bz2 rockbox-942bc9449ea587fc3d50a468da56df32baf0748f.tar.xz | |
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/menu.c')
| -rw-r--r-- | apps/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index 1c6be6f..023f6fb 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -167,7 +167,7 @@ static void menu_draw(int m) LCD_HEIGHT - SCROLLBAR_Y, menus[m].itemcount, menus[m].top, menus[m].top + menu_lines, VERTICAL); #endif - status_draw(); + status_draw(true); lcd_update(); } @@ -332,7 +332,7 @@ int menu_show(int m) return MENU_ATTACHED_USB; } - status_draw(); + status_draw(false); } return MENU_SELECTED_EXIT; } |