mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-25 01:28:54 -05:00
Merge branch 'develop-zhora' into z-to-rando-next
This commit is contained in:
commit
007540fb39
@ -25,7 +25,7 @@ namespace UIWidgets {
|
|||||||
std::string newText(text);
|
std::string newText(text);
|
||||||
const size_t tipLength = newText.length();
|
const size_t tipLength = newText.length();
|
||||||
int lastSpace = -1;
|
int lastSpace = -1;
|
||||||
size_t currentLineLength = 0;
|
int currentLineLength = 0;
|
||||||
for (unsigned int currentCharacter = 0; currentCharacter < tipLength; currentCharacter++) {
|
for (unsigned int currentCharacter = 0; currentCharacter < tipLength; currentCharacter++) {
|
||||||
if (newText[currentCharacter] == '\n') {
|
if (newText[currentCharacter] == '\n') {
|
||||||
currentLineLength = 0;
|
currentLineLength = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user