This commit is contained in:
twinaphex 2017-04-23 17:51:06 +02:00
parent eb208b170f
commit df60fa7a19

View File

@ -1096,7 +1096,7 @@ static void command_event_set_volume(float gain)
float new_volume = settings->audio.volume + gain;
new_volume = MAX(new_volume, -80.0f);
new_volume = MIN(new_volume, -80.0f);
new_volume = MIN(new_volume, 12.0f);
configuration_set_float(settings, settings->audio.volume, new_volume);