(Windows) Fixed an MSVC compiler warning.

This commit is contained in:
Leon Styhre 2022-10-08 11:22:46 +02:00
parent f7d72b4176
commit fdcd4a4a9d

View file

@ -308,7 +308,7 @@ std::string Font::wrapText(const std::string& text,
size_t byteCount {0}; size_t byteCount {0};
std::string wrappedText; std::string wrappedText;
std::string charEntry; std::string charEntry;
std::vector<std::pair<int, float>> dotsSection; std::vector<std::pair<size_t, float>> dotsSection;
bool addDots {false}; bool addDots {false};
for (size_t i = 0; i < text.length(); ++i) { for (size_t i = 0; i < text.length(); ++i) {