summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerhelputil.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-01-14 19:45:12 -0500
committerLoren Shih <seraph@lindenlab.com>2010-01-14 19:45:12 -0500
commit056d2a82698406641e4930f7adf2fe31664c9266 (patch)
treeddc678144c67e5467d07c2aebe4740cde6901630 /indra/newview/llviewerhelputil.cpp
parent04f1a83b2e0517fb9f3730a31941d79adf603059 (diff)
parente7b69ec8f8a69a437f821fb1c6b6ebeea80e28cc (diff)
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llviewerhelputil.cpp')
-rw-r--r--indra/newview/llviewerhelputil.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerhelputil.cpp b/indra/newview/llviewerhelputil.cpp
index 5ba4fc834c..ffc5761372 100644
--- a/indra/newview/llviewerhelputil.cpp
+++ b/indra/newview/llviewerhelputil.cpp
@@ -34,6 +34,7 @@
#include "llviewerprecompiledheaders.h"
#include "llviewerhelputil.h"
+#include "llagent.h"
#include "llsd.h"
#include "llstring.h"
#include "lluri.h"
@@ -63,6 +64,7 @@ std::string LLViewerHelpUtil::buildHelpURL( const std::string &topic)
{
LLSD substitution;
substitution["TOPIC"] = helpURLEncode(topic);
+ substitution["DEBUG_MODE"] = gAgent.isGodlike() ? "debug" : "";
// get the help URL and expand all of the substitutions
// (also adds things like [LANGUAGE], [VERSION], [OS], etc.)