diff options
Diffstat (limited to 'apps/gui')
-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(); |