diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-21 01:22:32 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-06-21 01:22:32 +0300 |
commit | d95cc1712f1fd9eb0ab06534b54be9e5449f66ba (patch) | |
tree | 20bb138b1b6eee2f1a822b7d4332d6e407cfb3e4 /indra/newview | |
parent | 6fa808db363b6d6e06e3b31d4acf4258497fb5ee (diff) |
STORM-1352 WIP Issue a warning if a NULL chat toast is encountered.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index 2f4621a600..68c8d5854e 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -401,7 +401,11 @@ void LLNearbyChatScreenChannel::showToastsBottom() for(toast_vec_t::iterator it = m_active_toasts.begin(); it != m_active_toasts.end(); ++it) { LLToast* toast = it->get(); - if (!toast) continue; + if (!toast) + { + llwarns << "NULL found in the active chat toasts list!" << llendl; + continue; + } S32 toast_top = bottom + toast->getRect().getHeight() + margin; |