diff options
author | Callum Prentice <callum@gmail.com> | 2017-04-21 14:32:13 -0700 |
---|---|---|
committer | Callum Prentice <callum@gmail.com> | 2017-04-21 14:32:13 -0700 |
commit | 2a5c47eb083a55cccb60916263b3c2b5d8d9c4fe (patch) | |
tree | ec40f2091563c690e06fb16d54b84d0e65bef39a /indra/newview/llappviewer.cpp | |
parent | 8846f9c7c19f85118da7d5601ad1dd14e491b6f5 (diff) | |
parent | 5f6bcaf456469f07d23a5599a1fed59420fd6ae7 (diff) |
Automated merge with tip of viewer64 (after it was merged with viewer-release)
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 204a19da7f..ae4e3df70f 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3310,7 +3310,12 @@ LLSD LLAppViewer::getViewerInfo() const std::string url = LLTrans::getString("RELEASE_NOTES_BASE_URL"); if (! LLStringUtil::endsWith(url, "/")) url += "/"; - url += LLURI::escape(LLVersionInfo::getChannel()) + "/"; + std::string channel = LLVersionInfo::getChannel(); + if (LLStringUtil::endsWith(boost::to_lower_copy(channel), " edu")) // Release Notes url shouldn't include the EDU parameter + { + boost::erase_tail(channel, 4); + } + url += LLURI::escape(channel) + "/"; url += LLURI::escape(LLVersionInfo::getVersion()); info["VIEWER_RELEASE_NOTES_URL"] = url; @@ -5598,6 +5603,8 @@ void LLAppViewer::forceErrorBreakpoint() LL_WARNS() << "Forcing a deliberate breakpoint" << LL_ENDL; #ifdef LL_WINDOWS DebugBreak(); +#else + asm ("int $3"); #endif return; } |