1
0
Fork 0
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:
fgenesis 2024-09-22 03:23:51 +02:00
parent e9998dd427
commit 798b6193ab

View file

@ -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++)