summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-06-03 16:06:10 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-06-03 16:06:10 +0300
commite2e208898be7bcc3d3801bfd537a5d84201a1563 (patch)
treea297165774ec04db59c0fdcf8b1ee244019ad014 /indra/newview/llviewermenufile.cpp
parent3959d7b83f1fdca7d8daf5494dbc02a645cb868f (diff)
mac build fix
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r--indra/newview/llviewermenufile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index 459397a0f7..54b12cae12 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -510,8 +510,8 @@ class LLFileEnableCloseAllWindows : public view_listener_t
{
LLFloaterSnapshot* floater_snapshot = LLFloaterSnapshot::getInstance();
LLFloaterOutfitSnapshot* floater_outfit_snapshot = LLFloaterOutfitSnapshot::getInstance();
- bool is_floaters_snapshot_opened = floater_snapshot && floater_snapshot->isInVisibleChain()
- || floater_outfit_snapshot && floater_outfit_snapshot->isInVisibleChain();
+ bool is_floaters_snapshot_opened = (floater_snapshot && floater_snapshot->isInVisibleChain())
+ || (floater_outfit_snapshot && floater_outfit_snapshot->isInVisibleChain());
bool open_children = gFloaterView->allChildrenClosed() && !is_floaters_snapshot_opened;
return !open_children;
}