mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
Fixed autobreak after ImGui cleanup
This commit is contained in:
parent
6daf357fd9
commit
f1dc980de8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue