Amend f3b89e4: Use correct end-layout

Also correct indentation of innner values
This commit is contained in:
Kornel Benko 2018-08-04 07:51:53 +02:00
parent a96845660e
commit 5c303abf1c

View File

@ -1434,14 +1434,14 @@ void Layout::write(ostream & os) const
os << "\n\tEndAutoNests\n";
}
if (!autonested_by_.empty()) {
os << "\tIsAutoNestedBy\n\t";
os << "\tIsAutoNestedBy\n\t\t";
for (set<docstring>::const_iterator it = autonested_by_.begin();
it != autonested_by_.end(); ++it) {
if (it != autonested_by_.begin())
os << ',';
os << to_utf8(*it);
}
os << "\n\tIsAutoNestedBy\n";
os << "\n\tEndIsAutoNestedBy\n";
}
if (refprefix.empty())
os << "\tRefPrefix OFF\n";