diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-16 16:38:16 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-16 16:38:16 +0000 |
commit | d2ef287e9c62dbf179ba624e60b882cfc59bb8ca (patch) | |
tree | 9d162d5e40c5841aa3516ee11f36045f1c7eab76 /indra/newview/llbottomtray.cpp | |
parent | d0d9ad2b36812845c4b91ce44eeda827089c78e1 (diff) |
defensiveness added to 81fc7fe78ca6 / EXT-5376
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r-- | indra/newview/llbottomtray.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 2958565fdf..95a946cee8 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -64,7 +64,8 @@ namespace S32 get_panel_min_width(LLLayoutStack* stack, LLPanel* panel) { S32 minimal_width = 0; - if ( panel && panel->getVisible() ) + llassert(stack); + if ( stack && panel && panel->getVisible() ) { stack->getPanelMinSize(panel->getName(), &minimal_width, NULL); } |