summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2017-01-27 22:36:47 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2017-01-27 22:36:47 +0200
commitb0bcea6449c25b4821b24b9756eb9328485da2c4 (patch)
tree524c4bb4383b47917715115a6d896dabbed101ca /indra/newview/llstartup.cpp
parenta65e3385f19756d7677b15383f0c40c96b4e3604 (diff)
MAINT-7061 Better check
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 57a06da287..b762b2ae1c 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2263,7 +2263,7 @@ void login_callback(S32 option, void *userdata)
void show_release_notes_if_required()
{
if (LLVersionInfo::getChannelAndVersion() != gLastRunVersion
- && LLVersionInfo::getChannel().find("Test") == std::string::npos // don't show Release Notes for the test builds
+ && LLVersionInfo::getViewerMaturity() != LLVersionInfo::TEST_VIEWER // don't show Release Notes for the test builds
&& gSavedSettings.getBOOL("UpdaterShowReleaseNotes")
&& !gSavedSettings.getBOOL("FirstLoginThisInstall"))
{