Broken lower casing fix (Fixes #3068)

This commit is contained in:
scrawl 2015-12-08 23:12:40 +01:00
parent 2f9b404094
commit 39feb547a0

View file

@ -35,8 +35,7 @@ namespace Interpreter{
if(text[i] == eschar) if(text[i] == eschar)
{ {
retval << text.substr(start, i - start); retval << text.substr(start, i - start);
std::string temp = text.substr(i+1, 100); std::string temp = Misc::StringUtils::lowerCase(text.substr(i+1, 100));
Misc::StringUtils::lowerCase(temp);
bool found = false; bool found = false;
try try