Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Apr 23, 2017
1 parent eb208b1 commit df60fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit df60fa7

Please sign in to comment.