projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed42a32
)
Formatting fix.
author
Carl Hetherington
<cth@carlh.net>
Mon, 12 Jan 2015 15:34:52 +0000
(15:34 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 12 Jan 2015 15:34:52 +0000
(15:34 +0000)
src/cxml.cc
patch
|
blob
|
history
diff --git
a/src/cxml.cc
b/src/cxml.cc
index 1d98529bdd0b08f49a08140355a085c79024eb94..a9ab7697a97c0cac7c29cd6160e5c3ac19aa354b 100644
(file)
--- a/
src/cxml.cc
+++ b/
src/cxml.cc
@@
-284,7
+284,7
@@
cxml::Document::take_root_node ()
_node = _parser->get_document()->get_root_node ();
if (!_root_name.empty() && _node->get_name() != _root_name) {
_node = _parser->get_document()->get_root_node ();
if (!_root_name.empty() && _node->get_name() != _root_name) {
- throw cxml::Error ("unrecognised root node " + _node->get_name() + "(expecting " + _root_name + ")");
+ throw cxml::Error ("unrecognised root node " + _node->get_name() + "
(expecting " + _root_name + ")");
} else if (_root_name.empty ()) {
_root_name = _node->get_name ();
}
} else if (_root_name.empty ()) {
_root_name = _node->get_name ();
}