1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting

This commit is contained in:
Aaron van Geffen
2024-07-13 13:48:49 +02:00
parent 3d5c19de08
commit 896eb4f488
36 changed files with 87 additions and 149 deletions

View File

@@ -12,7 +12,6 @@
#include "../core/UTF8.h"
#include "../localisation/Formatter.h"
#include "../localisation/Formatting.h"
#include "../localisation/Localisation.h"
#include "Drawing.h"
class StaticLayout
@@ -153,7 +152,7 @@ int32_t DrawTextWrapped(
{
const void* args = ft.Data();
StaticLayout layout(FormatStringIDLegacy(format, args), textPaint, width);
StaticLayout layout(OpenRCT2::FormatStringIDLegacy(format, args), textPaint, width);
if (textPaint.Alignment == TextAlignment::CENTRE)
{