From 2f0a831d528abe3f378b182c05dc87c41c5d0090 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 28 Feb 2019 17:26:51 +0200 Subject: [PATCH] Fixed: Invalid comparison of signed value --HG-- branch : develop --- code/ryzom/client/src/continent_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/continent_manager.cpp b/code/ryzom/client/src/continent_manager.cpp index 56a11cf63..c4b5cc693 100644 --- a/code/ryzom/client/src/continent_manager.cpp +++ b/code/ryzom/client/src/continent_manager.cpp @@ -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] = '?'; }