summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-06-21 21:52:41 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-06-21 21:52:41 +0000
commit401d51231fca5e97a4327d38aa4daf2475d22bbb (patch)
tree2846ea243ea02e81b443973b8d985348e964f745 /indra/newview
parent33dbf1107689cdca796ad708177063010726160a (diff)
Modified RecordToChatConsole to not construct LLFloaterChat if it doesn't already exist to avoid recursive floater construction.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 46aa284258..fb501b023f 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -260,7 +260,7 @@ public:
// only log warnings to chat console
if (level == LLError::LEVEL_WARN)
{
- LLFloaterChat* chat_floater = LLFloaterReg::getTypedInstance<LLFloaterChat>("chat");
+ LLFloaterChat* chat_floater = LLFloaterReg::findTypedInstance<LLFloaterChat>("chat");
if (chat_floater && gSavedSettings.getBOOL("WarningsAsChat"))
{
LLChat chat;