From 30ea13381884bca7a07e2bca16e5bde0ccacb530 Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Wed, 26 Sep 2012 17:30:52 -0700 Subject: CHUI-344 : Fix Mac build issue introduced by previous fix attempt --- indra/newview/lloutputmonitorctrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview') 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; -- cgit v1.2.3