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/settings.c | |
parent | 10fd7b6c3b3ed8bfd15ec1a6b67aaff3c4cf2a69 (diff) | |
download | rockbox-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/settings.c')
-rw-r--r-- | apps/settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c index f4949416cd..5646a43b01 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -1609,7 +1609,7 @@ bool set_int(char* string, | |||
1609 | snprintf(str,sizeof str,"%d %s ", *variable, unit); | 1609 | snprintf(str,sizeof str,"%d %s ", *variable, unit); |
1610 | lcd_puts(0, 1, str); | 1610 | lcd_puts(0, 1, str); |
1611 | #ifdef HAVE_LCD_BITMAP | 1611 | #ifdef HAVE_LCD_BITMAP |
1612 | status_draw(); | 1612 | status_draw(true); |
1613 | #endif | 1613 | #endif |
1614 | lcd_update(); | 1614 | lcd_update(); |
1615 | 1615 | ||
@@ -1699,7 +1699,7 @@ bool set_option(char* string, int* variable, char* options[], | |||
1699 | while ( !done ) { | 1699 | while ( !done ) { |
1700 | lcd_puts(0, 1, options[*variable]); | 1700 | lcd_puts(0, 1, options[*variable]); |
1701 | #ifdef HAVE_LCD_BITMAP | 1701 | #ifdef HAVE_LCD_BITMAP |
1702 | status_draw(); | 1702 | status_draw(true); |
1703 | #endif | 1703 | #endif |
1704 | lcd_update(); | 1704 | lcd_update(); |
1705 | 1705 | ||
@@ -1932,7 +1932,7 @@ bool set_time(char* string, int timedate[]) | |||
1932 | lcd_puts(0, 4, str(LANG_TIME_SET)); | 1932 | lcd_puts(0, 4, str(LANG_TIME_SET)); |
1933 | lcd_puts(0, 5, str(LANG_TIME_REVERT)); | 1933 | lcd_puts(0, 5, str(LANG_TIME_REVERT)); |
1934 | #ifdef HAVE_LCD_BITMAP | 1934 | #ifdef HAVE_LCD_BITMAP |
1935 | status_draw(); | 1935 | status_draw(true); |
1936 | #endif | 1936 | #endif |
1937 | lcd_update(); | 1937 | lcd_update(); |
1938 | 1938 | ||