1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Fix formatting

This commit is contained in:
duncanspumpkin
2024-03-22 08:58:43 +00:00
committed by Gymnasiast
parent 788878e7fc
commit c8a5af02a5

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;