From 19b0fd1fd0bd9d3cd55d4835c14f35c02c163942 Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Tue, 7 Apr 2015 15:43:27 -0700 Subject: DD-382 : Fix typo resulting in double negative in test and serious bug --- indra/newview/llinventoryfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index aeee3738f9..8344868f6f 100755 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -1040,7 +1040,7 @@ S32 compute_stock_count(LLUUID cat_uuid, bool force_count /* false */) // Grab marketplace data for this folder S32 depth = depth_nesting_in_marketplace(cat_uuid); LLUUID listing_uuid = nested_parent_id(cat_uuid, depth); - if (!!LLMarketplaceData::instance().isListed(listing_uuid)) + if (!LLMarketplaceData::instance().isListed(listing_uuid)) { // If not listed, the notion of stock is meaningless so it won't be computed for any level return -1; -- cgit v1.2.3