diff options
| -rw-r--r-- | indra/llinventory/lluserrelations.h | 2 | ||||
| -rw-r--r-- | indra/newview/llagent.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llinventorybridge.cpp | 32 | 
3 files changed, 9 insertions, 27 deletions
| diff --git a/indra/llinventory/lluserrelations.h b/indra/llinventory/lluserrelations.h index ddf6767b23..7c24254339 100644 --- a/indra/llinventory/lluserrelations.h +++ b/indra/llinventory/lluserrelations.h @@ -18,7 +18,7 @@   * @class LLRelationship   *   * This class represents a relationship between two agents, where the - * related agent is stored and the other agent in the relationship is + * related agent is stored and the other agent is the relationship is   * implicit by container ownership.   * This is merely a cache of this information used by the sim    * and viewer. diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index eb00692157..c6155197f6 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -4963,7 +4963,7 @@ BOOL LLAgent::allowOperation(PermissionBit op,  							 const LLPermissions& perm,  							 U64 group_proxy_power,  							 U8 god_minimum) - { +{  	// Check god level.  	if (getGodLevel() >= god_minimum) return TRUE; diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index eb59a4355b..4a1d496d6f 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -802,7 +802,7 @@ LLString LLItemBridge::getLabelSuffix() const  	if(item)   	{  		// it's a bit confusing to put nocopy/nomod/etc on calling cards. -		if( LLAssetType::AT_CALLINGCARD != item->getType() +		if(LLAssetType::AT_CALLINGCARD != item->getType()  		   && item->getPermissions().getOwner() == gAgent.getID())  		{  			BOOL copy = item->getPermissions().allowCopyBy(gAgent.getID()); @@ -814,32 +814,14 @@ LLString LLItemBridge::getLabelSuffix() const  			const char* NO_MOD = " (no modify)";  			const char* NO_XFER = " (no transfer)";  			const char* scopy; -			if(copy) -			{ -				scopy = EMPTY; -			} -			else -			{ -				scopy = NO_COPY; -			}; +			if(copy) scopy = EMPTY; +			else scopy = NO_COPY;  			const char* smod; -			if(mod) -			{ -				smod = EMPTY; -			} -			else -			{ -				smod = NO_MOD; -			}; +			if(mod) smod = EMPTY; +			else smod = NO_MOD;  			const char* sxfer; -			if(xfer) -			{ -				sxfer = EMPTY; -			} -			else -			{ -				sxfer = NO_XFER; -			}; +			if(xfer) sxfer = EMPTY; +			else sxfer = NO_XFER;  			char buffer[MAX_STRING];		/*Flawfinder: ignore*/  			snprintf(						/* Flawfinder: ignore */  				buffer, | 
