aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterabout.cpp
diff options
context:
space:
mode:
authorAnders Arnholm2008-12-13 18:49:24 +0100
committerAnders Arnholm2008-12-13 18:49:24 +0100
commitc7fca44072ae101b986a87c87ebda1e99de5141a (patch)
treea9884591ca07983234a0ed41275d7b92dc513f46 /linden/indra/newview/llfloaterabout.cpp
parentMerge 1.0.0 RC2 into openal (diff)
parentMerge branch 'next' of git://github.com/jacek/imprudence into next (diff)
downloadmeta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.zip
meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.tar.gz
meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.tar.bz2
meta-impy-c7fca44072ae101b986a87c87ebda1e99de5141a.tar.xz
Merge branch 'next' into openal
Conflicts: ChangeLog.txt
Diffstat (limited to 'linden/indra/newview/llfloaterabout.cpp')
-rw-r--r--linden/indra/newview/llfloaterabout.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp
index 6bd2c41..4953410 100644
--- a/linden/indra/newview/llfloaterabout.cpp
+++ b/linden/indra/newview/llfloaterabout.cpp
@@ -111,9 +111,9 @@ LLFloaterAbout::LLFloaterAbout()
111 111
112 // Version string 112 // Version string
113 std::string version = llformat( 113 std::string version = llformat(
114 "%s %d.%d.%d / %s %d.%d.%d (%d), %s %s\n", 114 "%s %d.%d.%d %s / %s %d.%d.%d (%d), %s %s\n",
115 IMP_VIEWER_NAME, 115 IMP_VIEWER_NAME,
116 IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, 116 IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, IMP_VERSION_TEST,
117 LL_VIEWER_NAME, 117 LL_VIEWER_NAME,
118 LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, 118 LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD,
119 __DATE__, __TIME__); 119 __DATE__, __TIME__);
@@ -267,17 +267,16 @@ void LLFloaterAbout::show(void*)
267static std::string get_viewer_release_notes_url() 267static std::string get_viewer_release_notes_url()
268{ 268{
269 std::ostringstream version; 269 std::ostringstream version;
270 version << LL_VERSION_MAJOR << "." 270 version << IMP_VERSION_MAJOR << "."
271 << LL_VERSION_MINOR << "." 271 << IMP_VERSION_MINOR << "."
272 << LL_VERSION_PATCH << "." 272 << IMP_VERSION_PATCH;
273 << LL_VERSION_BUILD;
274 273
275 LLSD query; 274 // Append the test version if it's not empty
276 query["channel"] = gSavedSettings.getString("VersionChannelName"); 275 if( strcmp(IMP_VERSION_TEST, "") != 0 )
277 query["version"] = version.str(); 276 version << "-" << IMP_VERSION_TEST;
278 277
279 std::ostringstream url; 278 std::ostringstream url;
280 url << RELEASE_NOTES_BASE_URL << LLURI::mapToQueryString(query); 279 url << RELEASE_NOTES_BASE_URL << version.str();
281 280
282 return url.str(); 281 return url.str();
283} 282}