summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-12-04 16:46:00 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-12-04 16:46:00 +0000
commitf8511d77a70bea452cde7270b47044358e58427c (patch)
tree7772dd518136c7f466693f26db437ed1cf23caa6 /indra/llui
parent90aa2ddb2efede12f12011fc163e3007e3ba7104 (diff)
EFFECTIVE MERGE: maint-ui-qa3 -r 73391:74133 -> release
ACTUAL MERGE: merge release@74893 maint-ui-3-merge@74902 -> release
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lluictrlfactory.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/lluictrlfactory.cpp b/indra/llui/lluictrlfactory.cpp
index 4b4c4636d5..88e4e89a2b 100644
--- a/indra/llui/lluictrlfactory.cpp
+++ b/indra/llui/lluictrlfactory.cpp
@@ -282,8 +282,11 @@ bool LLUICtrlFactory::getLayeredXMLNode(const LLString &filename, LLXMLNodePtr&
if (!LLXMLNode::parseFile(mXUIPaths.front() + filename, root, NULL))
{
- llwarns << "Problem reading UI description file: " << mXUIPaths.front() + filename << llendl;
- return FALSE;
+ if (!LLXMLNode::parseFile(filename, root, NULL))
+ {
+ llwarns << "Problem reading UI description file: " << mXUIPaths.front() + filename << llendl;
+ return FALSE;
+ }
}
LLXMLNodePtr updateRoot;