summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-09-26 17:30:52 -0700
committerMerov Linden <merov@lindenlab.com>2012-09-26 17:30:52 -0700
commit30ea13381884bca7a07e2bca16e5bde0ccacb530 (patch)
treed7213cc6b0b7e7ccf83f989988792616e51a4ba9 /indra
parentc92a83fe01f2201361f2f3b9770308aac00093e8 (diff)
CHUI-344 : Fix Mac build issue introduced by previous fix attempt
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lloutputmonitorctrl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lloutputmonitorctrl.cpp b/indra/newview/lloutputmonitorctrl.cpp
index d48826779c..1c412b15f7 100644
--- a/indra/newview/lloutputmonitorctrl.cpp
+++ b/indra/newview/lloutputmonitorctrl.cpp
@@ -167,7 +167,8 @@ void LLOutputMonitorCtrl::draw()
F32 power = 0;
for (; part_it != participant_uuids.end(); ++part_it)
{
- if (power = LLVoiceClient::instance().getCurrentPower(*part_it))
+ power = LLVoiceClient::instance().getCurrentPower(*part_it);
+ if (power)
{
mPower = power;
break;