diff options
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 2cdb92d964..2e8f7841c0 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -126,16 +126,6 @@ void fade(bool fade_in) | |||
126 | } | 126 | } |
127 | } | 127 | } |
128 | 128 | ||
129 | /* set volume */ | ||
130 | void setvol(void) | ||
131 | { | ||
132 | if (global_settings.volume < sound_min(SOUND_VOLUME)) | ||
133 | global_settings.volume = sound_min(SOUND_VOLUME); | ||
134 | if (global_settings.volume > sound_max(SOUND_VOLUME)) | ||
135 | global_settings.volume = sound_max(SOUND_VOLUME); | ||
136 | sound_set_volume(global_settings.volume); | ||
137 | settings_save(); | ||
138 | } | ||
139 | /* return true if screen restore is needed | 129 | /* return true if screen restore is needed |
140 | return false otherwise | 130 | return false otherwise |
141 | */ | 131 | */ |