diff options
-rw-r--r-- | ChangeLog.txt | 6 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterabout.cpp | 11 |
2 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index ea8f4c5..c5f3d5d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,6 +1,12 @@ | |||
1 | 2008-12-11 Jacek Antonelli <jacek.antonelli@gmail.com> | 1 | 2008-12-11 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 2 | ||
3 | * linden/indra/newview/llfloaterabout.cpp: | 3 | * linden/indra/newview/llfloaterabout.cpp: |
4 | Simplified release notes URL scheme. | ||
5 | Now uses e.g. "wiki/Release Notes/1.0.0-RC2", | ||
6 | which is set up as a wiki redirect. | ||
7 | |||
8 | |||
9 | * linden/indra/newview/llfloaterabout.cpp: | ||
4 | Fixed bad string comparison (rel notes url) [#28] | 10 | Fixed bad string comparison (rel notes url) [#28] |
5 | Reported by Balp Allen. | 11 | Reported by Balp Allen. |
6 | 12 | ||
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 | } |