From 1c5bdf4bdcc4acb23e5042f58b33b78e2a4b8552 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Fri, 5 May 2017 20:18:52 +0300 Subject: MAINT-6519 MAC build fix --- indra/newview/llfloaterlinkreplace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloaterlinkreplace.cpp b/indra/newview/llfloaterlinkreplace.cpp index 6576af2ea3..3f80d6f1a4 100644 --- a/indra/newview/llfloaterlinkreplace.cpp +++ b/indra/newview/llfloaterlinkreplace.cpp @@ -313,7 +313,7 @@ void LLFloaterLinkReplace::processBatch(LLInventoryModel::item_array_t items) { bool is_outfit_folder = gInventory.isObjectDescendentOf(source_item->getParentUUID(), outfit_folder_id); // If either the new or old item in the COF is a wearable, we need to update wearable ordering after the link has been replaced - bool needs_wearable_ordering_update = is_outfit_folder && source_item->getType() == LLAssetType::AT_CLOTHING || target_item->getType() == LLAssetType::AT_CLOTHING; + bool needs_wearable_ordering_update = (is_outfit_folder && source_item->getType() == LLAssetType::AT_CLOTHING) || target_item->getType() == LLAssetType::AT_CLOTHING; // Other items in the COF need a description update (description of the actual link item must be empty) bool needs_description_update = is_outfit_folder && target_item->getType() != LLAssetType::AT_CLOTHING; -- cgit v1.2.3