summaryrefslogtreecommitdiff
path: root/indra/llui/llui.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-12-12 09:04:33 -0500
committerOz Linden <oz@lindenlab.com>2011-12-12 09:04:33 -0500
commitf1a4593e471f4ae0e08767f73f100add683965bf (patch)
tree0f0f42a772c9c739ee5e726a8044e2888d17b735 /indra/llui/llui.cpp
parentd7e6f21981b0a00c0d89096cc17bab07be60e51a (diff)
parent50a57ba9fec0435a990338398d5c4f23c5cc91f0 (diff)
merge changes for vmrg-204
Diffstat (limited to 'indra/llui/llui.cpp')
-rw-r--r--indra/llui/llui.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp
index 33bc247987..6b74c5a6be 100644
--- a/indra/llui/llui.cpp
+++ b/indra/llui/llui.cpp
@@ -1833,9 +1833,12 @@ void LLUI::setupPaths()
LLXMLNodePtr root;
BOOL success = LLXMLNode::parseFile(filename, root, NULL);
Paths paths;
- LLXUIParser parser;
- parser.readXUI(root, paths, filename);
+ if(success)
+ {
+ LLXUIParser parser;
+ parser.readXUI(root, paths, filename);
+ }
sXUIPaths.clear();
if (success && paths.validateBlock())