mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 08:14:38 +01:00
Migrate many set_format_arg calls to Formatter (#11744)
This commit is contained in:
committed by
GitHub
parent
f0bd05cf6d
commit
620fb5e5c4
@@ -144,7 +144,8 @@ void window_tooltip_open(rct_window* widgetWindow, rct_widgetindex widgetIndex,
|
||||
if (widget->flags & WIDGET_FLAGS::TOOLTIP_IS_STRING)
|
||||
{
|
||||
stringId = STR_STRING_TOOLTIP;
|
||||
set_format_arg(0, const char*, widget->sztooltip);
|
||||
auto ft = Formatter::Common();
|
||||
ft.Add<const char*>(widget->sztooltip);
|
||||
}
|
||||
|
||||
if (stringId == STR_NONE)
|
||||
|
||||
Reference in New Issue
Block a user