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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user