Fixed: Invalid comparison of signed value

--HG--
branch : develop
feature/pipeline-tools
Nimetu 6 years ago
parent ac68a37f1b
commit 2f0a831d52

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