From b9b3e35e0942148b210313ea43b37f32fe51efcb Mon Sep 17 00:00:00 2001 From: Sophia Hadash Date: Mon, 23 Aug 2021 15:02:56 +0200 Subject: [PATCH] reformat toCamelCase. --- es-core/src/utils/StringUtil.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/es-core/src/utils/StringUtil.cpp b/es-core/src/utils/StringUtil.cpp index 91141ce1f..2bc8798ac 100644 --- a/es-core/src/utils/StringUtil.cpp +++ b/es-core/src/utils/StringUtil.cpp @@ -552,13 +552,11 @@ namespace Utils line[i] = Utils::String::toUpper(std::string(1, line[i]))[0]; active = false; } - else { + else line[i] = Utils::String::toLower(std::string(1, line[i]))[0]; - } } - else if (line[i] == ' ') { + else if (line[i] == ' ') active = true; - } } return line;