aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorAnders Arnholm2008-12-12 08:29:25 +0100
committerAnders Arnholm2008-12-12 08:29:25 +0100
commit06755e22f684f5a4693521ae84f3e129113a1086 (patch)
tree14906d2edd651e537a2be5edb79e023e0aa54d73 /linden/indra/newview
parentInclude README, ChangeLog, etc. in downloads #9 (diff)
parentSimplified release notes URL scheme. (diff)
downloadmeta-impy-06755e22f684f5a4693521ae84f3e129113a1086.zip
meta-impy-06755e22f684f5a4693521ae84f3e129113a1086.tar.gz
meta-impy-06755e22f684f5a4693521ae84f3e129113a1086.tar.bz2
meta-impy-06755e22f684f5a4693521ae84f3e129113a1086.tar.xz
Merge branch 'next' of git://github.com/jacek/imprudence into next
Conflicts: linden/indra/newview/llfloaterabout.cpp
Diffstat (limited to 'linden/indra/newview')
-rw-r--r--linden/indra/newview/llfloaterabout.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp
index 7a0dd84..af436c5 100644
--- a/linden/indra/newview/llfloaterabout.cpp
+++ b/linden/indra/newview/llfloaterabout.cpp
@@ -263,18 +263,15 @@ static std::string get_viewer_release_notes_url()
263{ 263{
264 std::ostringstream version; 264 std::ostringstream version;
265 version << IMP_VERSION_MAJOR << "." 265 version << IMP_VERSION_MAJOR << "."
266 << IMP_VERSION_MINOR << "." 266 << IMP_VERSION_MINOR << "."
267 << IMP_VERSION_PATCH; 267 << IMP_VERSION_PATCH;
268 268
269 std::ostringstream test_version; 269 // Append the test version if it's not empty
270 270 if( strcmp(IMP_VERSION_TEST, "") != 0 )
271 if(strcmp(IMP_VERSION_TEST,"")) { 271 version << "-" << IMP_VERSION_TEST;
272 test_version << "#" << "Imprudence_" << version.str() << "_"
273 << IMP_VERSION_TEST;
274 }
275 272
276 std::ostringstream url; 273 std::ostringstream url;
277 url << RELEASE_NOTES_BASE_URL << version.str() << test_version.str(); 274 url << RELEASE_NOTES_BASE_URL << version.str();
278 275
279 return url.str(); 276 return url.str();
280} 277}