Fixed: Invalid comparison of signed value

--HG--
branch : compatibility-develop
hg/compatibility-develop
Nimetu 6 years ago
parent 2b927a7a47
commit 3ccb4e0ae3

@ -518,7 +518,7 @@ void CContinentManager::writeTo(xmlNodePtr node) const
std::string title = lm.Title.toUtf8();
for(uint i = 0; i< title.size(); i++)
{
if (title[i] < ' ' && title[i] != '\n' && title[i] != '\t')
if (title[i] >= '\0' && title[i] < ' ' && title[i] != '\n' && title[i] != '\t')
{
title[i] = '?';
}

Loading…
Cancel
Save