summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 4d15126271..9b8e42ef09 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6498,7 +6498,7 @@ bool LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset)
{
auto name = (*iter)->getName();
auto colon = name.find_first_of(':');
- if (name == action || colon != std::string::npos && !name.compare(0, colon, action))
+ if (name == action || (colon != std::string::npos && !name.compare(0, colon, action)))
{
folderID = findDescendentCategoryIDByName(folderID, name);
gInventory.getDirectDescendentsOf(folderID, cats, items);