Skip to content
Snippets Groups Projects
Commit 611c31a8 authored by Oz Linden's avatar Oz Linden
Browse files

CHOP-966: use 4 part version numbers for release notes urls

parent 725288e9
No related branches found
No related tags found
No related merge requests found
...@@ -307,12 +307,12 @@ LLSD LLFloaterAbout::getInfo() ...@@ -307,12 +307,12 @@ LLSD LLFloaterAbout::getInfo()
static std::string get_viewer_release_notes_url() static std::string get_viewer_release_notes_url()
{ {
// return a URL to the release notes for this viewer, such as: // return a URL to the release notes for this viewer, such as:
// http://wiki.secondlife.com/wiki/Release_Notes/Second Life Beta Viewer/2.1.0 // http://wiki.secondlife.com/wiki/Release_Notes/Second Life Beta Viewer/2.1.0.123456
std::string url = LLTrans::getString("RELEASE_NOTES_BASE_URL"); std::string url = LLTrans::getString("RELEASE_NOTES_BASE_URL");
if (! LLStringUtil::endsWith(url, "/")) if (! LLStringUtil::endsWith(url, "/"))
url += "/"; url += "/";
url += LLVersionInfo::getChannel() + "/"; url += LLVersionInfo::getChannel() + "/";
url += LLVersionInfo::getShortVersion(); url += LLVersionInfo::getVersion();
return LLWeb::escapeURL(url); return LLWeb::escapeURL(url);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment