Fix formatting

This commit is contained in:
duncanspumpkin 2024-03-22 08:58:43 +00:00 committed by Gymnasiast
parent 788878e7fc
commit c8a5af02a5
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 1 additions and 2 deletions

View File

@ -252,8 +252,7 @@ namespace OpenRCT2::Ui::Windows
// Make a view of the string for measuring the width.
cursorX = windowPos.x + 13
+ GfxGetStringWidthNoFormatting(
u8string_view{ wrapPointer, textInput->SelectionStart - char_count },
FontStyle::Medium);
u8string_view{ wrapPointer, textInput->SelectionStart - char_count }, FontStyle::Medium);
cursorY = screenCoords.y;
int32_t textWidth = 6;