diff options
author | Merov Linden <merov@lindenlab.com> | 2015-04-07 15:43:27 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2015-04-07 15:43:27 -0700 |
commit | 19b0fd1fd0bd9d3cd55d4835c14f35c02c163942 (patch) | |
tree | 061d7cfb82ce0175cc6905684594c765bdbae2d9 | |
parent | 79b891a688c0ebd329118a7ebc1a527c72d8f83f (diff) |
DD-382 : Fix typo resulting in double negative in test and serious bug
-rwxr-xr-x | indra/newview/llinventoryfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |