diff options
author | Jacek Antonelli | 2008-12-11 14:32:04 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-11 14:32:04 -0600 |
commit | e99716b74d442e2aeb88e2dbd480f2e99a6797b3 (patch) | |
tree | ef0219a5245257b0d2f10ad7d25e15297a36b927 /linden/indra/newview/llfloaterabout.cpp | |
parent | Fixed bad string comparison (rel notes url) [#28] (diff) | |
download | meta-impy-e99716b74d442e2aeb88e2dbd480f2e99a6797b3.zip meta-impy-e99716b74d442e2aeb88e2dbd480f2e99a6797b3.tar.gz meta-impy-e99716b74d442e2aeb88e2dbd480f2e99a6797b3.tar.bz2 meta-impy-e99716b74d442e2aeb88e2dbd480f2e99a6797b3.tar.xz |
Simplified release notes URL scheme.
Now uses e.g. "wiki/Release Notes/1.0.0-RC2",
which is set up as a wiki redirect.
Diffstat (limited to 'linden/indra/newview/llfloaterabout.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterabout.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp index f6e7792..af436c5 100644 --- a/linden/indra/newview/llfloaterabout.cpp +++ b/linden/indra/newview/llfloaterabout.cpp | |||
@@ -263,16 +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 | |||
269 | std::ostringstream test_version; | ||
270 | 268 | ||
269 | // Append the test version if it's not empty | ||
271 | if( strcmp(IMP_VERSION_TEST, "") != 0 ) | 270 | if( strcmp(IMP_VERSION_TEST, "") != 0 ) |
272 | test_version << "#" << "Imprudence_" << version.str() << "_" << IMP_VERSION_TEST; | 271 | version << "-" << IMP_VERSION_TEST; |
273 | 272 | ||
274 | std::ostringstream url; | 273 | std::ostringstream url; |
275 | url << RELEASE_NOTES_BASE_URL << version.str() << test_version.str(); | 274 | url << RELEASE_NOTES_BASE_URL << version.str(); |
276 | 275 | ||
277 | return url.str(); | 276 | return url.str(); |
278 | } | 277 | } |