diff --git a/indra/newview/llversioninfo.cpp b/indra/newview/llversioninfo.cpp index 653d1c432a..d7563cbfe1 100644 --- a/indra/newview/llversioninfo.cpp +++ b/indra/newview/llversioninfo.cpp @@ -159,6 +159,12 @@ const std::string &LLVersionInfo::getChannelAndVersionFS() //static const std::string &LLVersionInfo::getChannel() { + // Above macro hackery results in extra quotes - fix it if it happens + if (LLStringUtil::startsWith(sWorkingChannelName, "\"") && sWorkingChannelName.size() > 2) + { + sWorkingChannelName = sWorkingChannelName.substr(1, sWorkingChannelName.size() - 2); + } + // return sWorkingChannelName; }