Fix formatting

This commit is contained in:
duncanspumpkin authored and Gymnasiast committed 2024-04-26 18:27:15 +02:00
1 parent 788878e7fc
commit c8a5af02a5
1 file changed
+1 -2
+1 -2
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;