Commit 4054253b authored by Kenneth Leiter's avatar Kenneth Leiter
Browse files

BUG: Fix bug that prevented names of one character length from being written to xml file.

parent ea17db1a
...@@ -456,7 +456,7 @@ XdmfInt32 XdmfElement::Build(){ ...@@ -456,7 +456,7 @@ XdmfInt32 XdmfElement::Build(){
XdmfInt32 i; XdmfInt32 i;
name = this->GetName(); name = this->GetName();
if(name && (strlen(name) > 1)){ if(name && (strlen(name) > 0)){
this->Set("Name", name); this->Set("Name", name);
} }
if(this->DOM){ if(this->DOM){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment