Fixed: Invalid comparison of signed value
--HG-- branch : develop
This commit is contained in:
parent
ac68a37f1b
commit
2f0a831d52
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue