Update members of FontStyle

This commit is contained in:
Gymnasiast committed 2025-11-03 23:25:30 +01:00
1 parent 124352c922
commit 0ec4e3353b
52 files changed
+140 -140

No files matched your search

+1 -1
View File
@@ -371,7 +371,7 @@ namespace OpenRCT2::Ui::Windows
{
snprintf(players, sizeof(players), "%d/%d", serverDetails.Players, serverDetails.MaxPlayers);
}
const int16_t numPlayersStringWidth = GfxGetStringWidth(players, FontStyle::Medium);
const int16_t numPlayersStringWidth = GfxGetStringWidth(players, FontStyle::medium);
// How much space we have for the server info depends on the size of everything rendered after.
const int16_t spaceAvailableForInfo = listWidgetWidth - numPlayersStringWidth - kScrollBarWidth - 35;