fix formatting

This commit is contained in:
NebulaGazer 2023-05-18 16:58:03 -04:00
commit edfd17e744

View file

@ -4559,7 +4559,8 @@ void GMainWindow::OnLanguageChanged(const QString& locale) {
void GMainWindow::OnDecreaseSpeed() { void GMainWindow::OnDecreaseSpeed() {
int step = 50; int step = 50;
Settings::values.speed_limit.SetValue(std::max(Settings::values.speed_limit.GetValue() - step, 0)); Settings::values.speed_limit.SetValue(
std::max(Settings::values.speed_limit.GetValue() - step, 0));
} }
void GMainWindow::OnIncreaseSpeed() { void GMainWindow::OnIncreaseSpeed() {