aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llviewermedia.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llviewermedia.cpp')
-rw-r--r--linden/indra/newview/llviewermedia.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewermedia.cpp b/linden/indra/newview/llviewermedia.cpp
index 0429a3c..f318d07 100644
--- a/linden/indra/newview/llviewermedia.cpp
+++ b/linden/indra/newview/llviewermedia.cpp
@@ -44,9 +44,6 @@
44#include "llmediamanager.h" 44#include "llmediamanager.h"
45#include "lluuid.h" 45#include "lluuid.h"
46 46
47// don't want to include llappviewer.h
48extern std::string gChannelName;
49
50// Implementation functions not exported into header file 47// Implementation functions not exported into header file
51class LLViewerMediaImpl 48class LLViewerMediaImpl
52 : public LLMediaObserver 49 : public LLMediaObserver
@@ -456,7 +453,7 @@ void LLViewerMedia::initClass()
456 // append our magic version number string to the browser user agent id 453 // append our magic version number string to the browser user agent id
457 std::ostringstream codec; 454 std::ostringstream codec;
458 codec << "[Second Life "; 455 codec << "[Second Life ";
459 codec << "(" << gChannelName << ")"; 456 codec << "(" << gSavedSettings.getString("VersionChannelName") << ")";
460 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD; 457 codec << " - " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH << "." << LL_VERSION_BUILD;
461 codec << "]"; 458 codec << "]";
462 init_data->setBrowserUserAgentId( codec.str() ); 459 init_data->setBrowserUserAgentId( codec.str() );