HPL1: Remove unused variable

This commit is contained in:
Eugene Sandulenko 2023-09-19 14:28:03 +02:00
parent ea542c4619
commit 8787d9ccb3
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -311,11 +311,9 @@ void FontData::getWordWrapRows(float afLength, float afFontHeight, cVector2f avS
apRowVec->push_back(asString);
} else {
first_letter = 0;
unsigned int i = 0;
for (tUIntListIt it = RowLengthList.begin(); it != RowLengthList.end(); ++it) {
apRowVec->push_back(asString.substr(first_letter, *it - first_letter));
i++;
first_letter = *it + 1;
}
apRowVec->push_back(asString.substr(first_letter));