Fixed infinite loop into an eventual stack heap overflow
parent
364d196e58
commit
e4f3d47551
|
|
@ -80,14 +80,14 @@ void LLIMFloaterContainer::onOpen(const LLSD& key)
|
|||
if (gSavedSettings.getBOOL("ChatHistoryTornOff"))
|
||||
{
|
||||
// add then remove to set up relationship for re-attach
|
||||
addFloater(floater, FALSE);
|
||||
LLMultiFloater::showFloater(floater);
|
||||
removeFloater(floater);
|
||||
// reparent to floater view
|
||||
gFloaterView->addChild(floater);
|
||||
}
|
||||
else
|
||||
{
|
||||
addFloater(floater, FALSE);
|
||||
LLMultiFloater::showFloater(floater);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue