summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatervoiceeffect.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-08-12 14:24:00 -0400
committerLogan Dethrow <log@lindenlab.com>2011-08-12 14:24:00 -0400
commitf73ec6a0378bb31500957e2e9d29ce9c48796831 (patch)
tree3dfac26b35957d7ba1f2668f26183544353ce3a5 /indra/newview/llfloatervoiceeffect.cpp
parentcff5251f064005f213a905f6eb41b5b7ef8c954b (diff)
parenta41e149642bba39a5dc9bae01a0ea3e6455f7471 (diff)
merge
Diffstat (limited to 'indra/newview/llfloatervoiceeffect.cpp')
-rw-r--r--indra/newview/llfloatervoiceeffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatervoiceeffect.cpp b/indra/newview/llfloatervoiceeffect.cpp
index 2a3950f9b1..030fed0575 100644
--- a/indra/newview/llfloatervoiceeffect.cpp
+++ b/indra/newview/llfloatervoiceeffect.cpp
@@ -145,7 +145,7 @@ void LLFloaterVoiceEffect::refreshEffectList()
for (voice_effect_list_t::const_iterator it = template_list.begin(); it != template_list.end(); ++it)
{
const LLUUID& effect_id = it->second;
- std::string effect_name = it->first;
+ std::string effect_name = getString("effect_" + it->first); // will throw an error if the effect is not listed in the XML
LLSD effect_properties = effect_interface->getVoiceEffectProperties(effect_id);