From f1dc980de84766053a8fe28420ca1701d4367432 Mon Sep 17 00:00:00 2001 From: aMannus Date: Sat, 3 Sep 2022 11:16:43 +0200 Subject: [PATCH] Fixed autobreak after ImGui cleanup --- soh/soh/UIWidgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/UIWidgets.cpp b/soh/soh/UIWidgets.cpp index d61ddc0f9..148a820c2 100644 --- a/soh/soh/UIWidgets.cpp +++ b/soh/soh/UIWidgets.cpp @@ -25,7 +25,7 @@ namespace UIWidgets { std::string newText(text); const size_t tipLength = newText.length(); int lastSpace = -1; - size_t currentLineLength = 0; + int currentLineLength = 0; for (unsigned int currentCharacter = 0; currentCharacter < tipLength; currentCharacter++) { if (newText[currentCharacter] == '\n') { currentLineLength = 0;