mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Migrate many set_format_arg calls to Formatter (#11744)
This commit is contained in:
committed by
GitHub
parent
f0bd05cf6d
commit
620fb5e5c4
@@ -419,7 +419,8 @@ static void window_text_input_invalidate(rct_window* w)
|
||||
window_text_input_widgets[WIDX_BACKGROUND].bottom = height - 1;
|
||||
|
||||
// Set window title argument
|
||||
set_format_arg(0, const char*, _title.c_str());
|
||||
auto ft = Formatter::Common();
|
||||
ft.Add<const char*>(_title.c_str());
|
||||
}
|
||||
|
||||
static void draw_ime_composition(rct_drawpixelinfo* dpi, int cursorX, int cursorY)
|
||||
|
||||
Reference in New Issue
Block a user