diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-01-20 00:10:55 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-01-20 00:10:55 +0000 |
commit | 2ab9378e19e89d9498954e8191239356e0149e32 (patch) | |
tree | a3744e172c33096cb2189978a62f2dd6979ee35d /indra/newview | |
parent | b8122d10d154cecb35a91ca385fc3f118efebcf4 (diff) |
EXT-4505: Don't leave a trailing slash in the Help URLs.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/app_settings/settings.xml | 2 | ||||
-rw-r--r-- | indra/newview/llviewerhelputil.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 68f376fe11..69336243da 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -3607,7 +3607,7 @@ <key>Type</key> <string>String</string> <key>Value</key> - <string>http://viewer-help.secondlife.com/[LANGUAGE]/[CHANNEL]/[VERSION]/[TOPIC]/[DEBUG_MODE]</string> + <string>http://viewer-help.secondlife.com/[LANGUAGE]/[CHANNEL]/[VERSION]/[TOPIC][DEBUG_MODE]</string> </map> <key>HomeSidePanelURL</key> <map> diff --git a/indra/newview/llviewerhelputil.cpp b/indra/newview/llviewerhelputil.cpp index ffc5761372..967a2925e3 100644 --- a/indra/newview/llviewerhelputil.cpp +++ b/indra/newview/llviewerhelputil.cpp @@ -64,7 +64,7 @@ std::string LLViewerHelpUtil::buildHelpURL( const std::string &topic) { LLSD substitution; substitution["TOPIC"] = helpURLEncode(topic); - substitution["DEBUG_MODE"] = gAgent.isGodlike() ? "debug" : ""; + substitution["DEBUG_MODE"] = gAgent.isGodlike() ? "/debug" : ""; // get the help URL and expand all of the substitutions // (also adds things like [LANGUAGE], [VERSION], [OS], etc.) |