1
0
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:
Michael Steenbeek
2020-05-14 02:29:39 +02:00
committed by GitHub
parent f0bd05cf6d
commit 620fb5e5c4
23 changed files with 122 additions and 81 deletions

View File

@@ -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)