From 466cc0b98dac6c9a393049e88d67d30b063d27f5 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 25 Jul 2019 11:07:56 -0400 Subject: [PATCH] Chocolate must be really bad for me, I'm super dizzy and dazed... --- indra/newview/ascentprefschat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/ascentprefschat.cpp b/indra/newview/ascentprefschat.cpp index 7084e0081..ddea0444b 100644 --- a/indra/newview/ascentprefschat.cpp +++ b/indra/newview/ascentprefschat.cpp @@ -352,7 +352,7 @@ void LLPrefsAscentChat::refresh() combo->setCurrentByIndex(mSpeakerNames); //Text Options ------------------------------------------------------------------------ - if (combo = getChild("SpellBase")) + if (auto combo = getChild("SpellBase")) { combo->removeall();