diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 97d9cb4dc..f10ab1dc0 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -1364,8 +1364,7 @@ void LLFloaterIMPanel::onSendMsg() if (mSessionType == SUPPORT_SESSION && getChildView("Support Check")->getValue()) { - static const auto version = llformat(" (%d) ", LLVersionInfo::getBuild()); - utf8_text.insert(action ? 3 : 0, action ? version.substr(0, version.size()-1) : version.substr(1)); + utf8_text.insert(action ? 3 : 0, llformat(action ? " (%d)" : "(%d) ", LLVersionInfo::getBuild())); } if ( mSessionInitialized )