Skip to content

Commit 9bd6830

Browse files
committed
Merge branch 'master' of github.com:BehaviorTree/BehaviorTree.CPP
2 parents 13d8917 + 6ec4978 commit 9bd6830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xml_parsing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void XMLParser::Pimpl::loadDocImpl(tinyxml2::XMLDocument* doc, bool add_includes
133133
if (doc->Error())
134134
{
135135
char buffer[200];
136-
sprintf(buffer, "Error parsing the XML: %s", doc->ErrorName());
136+
sprintf(buffer, "Error parsing the XML: %s", doc->ErrorStr());
137137
throw RuntimeError(buffer);
138138
}
139139

0 commit comments

Comments
 (0)