forked from rosebudai/OpenRCT2-Web
* Fix #11570 - create gfx_draw_string_centered() overload I created the overload, updated all calls from the old function to the new and deleted the old one
This commit is contained in:
1 parent
e87343f9c6
commit
277080de74
20 files changed
+171
-161
No files matched your search
@@ -259,7 +259,7 @@ static void window_text_input_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
||||
int32_t font_height = 0;
|
||||
|
||||
gfx_draw_string_centred(
|
||||
dpi, input_text_description, w->windowPos.x + WW / 2, screenCoords.y, w->colours[1], &TextInputDescriptionArgs);
|
||||
dpi, input_text_description, { w->windowPos.x + WW / 2, screenCoords.y }, w->colours[1], &TextInputDescriptionArgs);
|
||||
|
||||
screenCoords.y += 25;
|
||||
|
||||
|
||||
Reference in new issue
Block a user