summaryrefslogtreecommitdiff
path: root/indra/llxml/llxmlnode.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-11-14 14:37:38 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-11-14 14:37:38 -0500
commit852e60859977a6a2b088d8c99ae7350fe3a3d587 (patch)
tree2cc2f438c657cc554c64bc1e6248a4f716b99a29 /indra/llxml/llxmlnode.cpp
parent0e13bf5f9ebfb29cc40470df5088ecde4d3ec20f (diff)
parent120733ea0d479f3c0224f94bb17e5dc32194dc9f (diff)
Automated merge with http://hg.secondlife.com/viewer-development
Diffstat (limited to 'indra/llxml/llxmlnode.cpp')
-rw-r--r--indra/llxml/llxmlnode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp
index 2ffb0d8503..b775249219 100644
--- a/indra/llxml/llxmlnode.cpp
+++ b/indra/llxml/llxmlnode.cpp
@@ -897,7 +897,8 @@ bool LLXMLNode::getLayeredXMLNode(LLXMLNodePtr& root,
std::vector<std::string>::const_iterator itor;
- for (itor = paths.begin(), ++itor; itor != paths.end(); ++itor)
+ // We've already dealt with the first item, skip that one
+ for (itor = paths.begin() + 1; itor != paths.end(); ++itor)
{
std::string layer_filename = *itor;
if(layer_filename.empty() || layer_filename == filename)