Close #21837: Formatter is overwritten in RideConstruction.cpp

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
This commit is contained in:
Harry HopkinsonandGymnasiast authored and GitHub committed 2024-04-20 13:49:36 +00:00
1 parent 1b5d0f47ab
commit b05dcb3dfe
1 file changed
+4 -2
+4 -2
View File
@@ -1515,6 +1515,10 @@ static Widget _rideConstructionWidgets[] = {
}
ft.Add<uint16_t>(brakeSpeed2);
}
else
{
ft.Increment(2);
}
widgets[WIDX_SEAT_ROTATION_ANGLE_SPINNER].text = RideConstructionSeatAngleRotationStrings
[_currentSeatRotationAngle];
@@ -1536,8 +1540,6 @@ static Widget _rideConstructionWidgets[] = {
}
// Set window title arguments
ft = Formatter::Common();
ft.Increment(4);
currentRide->FormatNameTo(ft);
}