mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 22:44:32 +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;
|
text = this->text;
|
||||||
lines.clear();
|
lines.clear();
|
||||||
std::string currentLine;
|
std::string currentLine;
|
||||||
size_t lastSpace = size_t(-1);
|
size_t lastSpace = std::string::npos;
|
||||||
float currentWidth = 0;
|
float currentWidth = 0;
|
||||||
maxW = 0;
|
maxW = 0;
|
||||||
for (size_t i = 0; i < text.size(); i++)
|
for (size_t i = 0; i < text.size(); i++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue