diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-06-23 02:57:24 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-06-23 02:57:24 +0000 |
commit | 66530722928b5e3c9870feb121c261e138807492 (patch) | |
tree | fea9659cd983de0891777ed559a3ece3a943ff2b /apps/gui/gwps-common.c | |
parent | 4982b87b9cfc98a40a6fb7b837632f86e483390f (diff) | |
download | rockbox-66530722928b5e3c9870feb121c261e138807492.tar.gz rockbox-66530722928b5e3c9870feb121c261e138807492.zip |
bah, fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17758 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index f5ef604498..634d199461 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -104,8 +104,10 @@ void fade(bool fade_in, bool updatewps) | |||
104 | fp_volume += fp_step; | 104 | fp_volume += fp_step; |
105 | sound_set_volume(fp_volume >> 8); | 105 | sound_set_volume(fp_volume >> 8); |
106 | if (updatewps) | 106 | if (updatewps) |
107 | { | ||
107 | FOR_NB_SCREENS(i) | 108 | FOR_NB_SCREENS(i) |
108 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_NON_STATIC); | 109 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_NON_STATIC); |
110 | } | ||
109 | sleep(1); | 111 | sleep(1); |
110 | } | 112 | } |
111 | sound_set_volume(global_settings.volume); | 113 | sound_set_volume(global_settings.volume); |
@@ -118,8 +120,10 @@ void fade(bool fade_in, bool updatewps) | |||
118 | fp_volume -= fp_step; | 120 | fp_volume -= fp_step; |
119 | sound_set_volume(fp_volume >> 8); | 121 | sound_set_volume(fp_volume >> 8); |
120 | if (updatewps) | 122 | if (updatewps) |
123 | { | ||
121 | FOR_NB_SCREENS(i) | 124 | FOR_NB_SCREENS(i) |
122 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_NON_STATIC); | 125 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_NON_STATIC); |
126 | } | ||
123 | sleep(1); | 127 | sleep(1); |
124 | } | 128 | } |
125 | audio_pause(); | 129 | audio_pause(); |