mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
fix a warning
This commit is contained in:
parent
e9998dd427
commit
798b6193ab
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ void DebugFont::formatText()
|
|||
text = this->text;
|
||||
lines.clear();
|
||||
std::string currentLine;
|
||||
size_t lastSpace = size_t(-1);
|
||||
size_t lastSpace = std::string::npos;
|
||||
float currentWidth = 0;
|
||||
maxW = 0;
|
||||
for (size_t i = 0; i < text.size(); i++)
|
||||
|
|
Loading…
Reference in a new issue