diff options
Diffstat (limited to 'linden/indra/newview/llfloaterabout.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterabout.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index 4704c5b..af436c5 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/indra/newview/llfloaterabout.cpp | |||
@@ -110,9 +110,9 @@ LLFloaterAbout::LLFloaterAbout() | |||
110 | 110 | ||
111 | // Version string | 111 | // Version string |
112 | std::string version = llformat( | 112 | std::string version = llformat( |
113 | "%s %d.%d.%d / %s %d.%d.%d (%d), %s %s\n", | 113 | "%s %d.%d.%d %s / %s %d.%d.%d (%d), %s %s\n", |
114 | IMP_VIEWER_NAME, | 114 | IMP_VIEWER_NAME, |
115 | IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, | 115 | IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, IMP_VERSION_TEST, |
116 | LL_VIEWER_NAME, | 116 | LL_VIEWER_NAME, |
117 | LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, | 117 | LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, |
118 | __DATE__, __TIME__); | 118 | __DATE__, __TIME__); |
@@ -262,17 +262,16 @@ void LLFloaterAbout::show(void*) | |||
262 | static std::string get_viewer_release_notes_url() | 262 | static std::string get_viewer_release_notes_url() |
263 | { | 263 | { |
264 | std::ostringstream version; | 264 | std::ostringstream version; |
265 | version << LL_VERSION_MAJOR << "." | 265 | version << IMP_VERSION_MAJOR << "." |
266 | << LL_VERSION_MINOR << "." | 266 | << IMP_VERSION_MINOR << "." |
267 | << LL_VERSION_PATCH << "." | 267 | << IMP_VERSION_PATCH; |
268 | << LL_VERSION_BUILD; | ||
269 | 268 | ||
270 | LLSD query; | 269 | // Append the test version if it's not empty |
271 | query["channel"] = gSavedSettings.getString("VersionChannelName"); | 270 | if( strcmp(IMP_VERSION_TEST, "") != 0 ) |
272 | query["version"] = version.str(); | 271 | version << "-" << IMP_VERSION_TEST; |
273 | 272 | ||
274 | std::ostringstream url; | 273 | std::ostringstream url; |
275 | url << RELEASE_NOTES_BASE_URL << LLURI::mapToQueryString(query); | 274 | url << RELEASE_NOTES_BASE_URL << version.str(); |
276 | 275 | ||
277 | return url.str(); | 276 | return url.str(); |
278 | } | 277 | } |