From 39feb547a0892e27c256be1d7e20d67f14a6d266 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 8 Dec 2015 23:12:40 +0100 Subject: [PATCH] Broken lower casing fix (Fixes #3068) --- components/interpreter/defines.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/interpreter/defines.cpp b/components/interpreter/defines.cpp index 3812e63c5..2ceb857c4 100644 --- a/components/interpreter/defines.cpp +++ b/components/interpreter/defines.cpp @@ -35,8 +35,7 @@ namespace Interpreter{ if(text[i] == eschar) { retval << text.substr(start, i - start); - std::string temp = text.substr(i+1, 100); - Misc::StringUtils::lowerCase(temp); + std::string temp = Misc::StringUtils::lowerCase(text.substr(i+1, 100)); bool found = false; try